AmendHub

Download:

jcs

/

subtext

/

amendments

/

128

bile: Turn async back on for bile_flush


jcs made amendment 128 about 1 year ago
--- bile.c Thu Jun 9 15:44:36 2022 +++ bile.c Thu Jun 9 16:12:42 2022 @@ -235,7 +235,7 @@ bile_flush(struct bile *bile, short and_vol) memset(&pb, 0, sizeof(pb)); pb.ioRefNum = bile->frefnum; /* if we're not flushing the volume, write async */ - ret = PBFlushFile(&pb, false); + ret = PBFlushFile(&pb, !and_vol); if (ret != noErr) return ret;