This is the mail archive of the
mailing list for the Cygwin project.
- From: "Gary R. Van Sickle" <g dot r dot vansickle at worldnet dot att dot net>
- To: "'cygwin-patches mailing-list'" <cygwin-patches at cygwin dot com>
- Date: Wed, 27 Oct 2004 00:18:12 -0500
- Subject: RE: sync(3)
Well, I don't know if it's a bad idea, but FlushFileBuffers isn't guaranteed
to do anything, and usually doesn't in the very instances that you need it
most. But since sync(3) isn't guaranteed to do anything anyway, I guess it
I'd be sure to put comments in there saying that it really can't be relied
on to do anything though. That will avoid people who come along later, see
that sync looks like it should be "working" but isn't, and wonder what's
wrong when there really isn't anything "wrong".
Gary R. Van Sickle
> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org] On Behalf Of Reini Urban
> Sent: Tuesday, October 26, 2004 9:36 PM
> To: cygwin-patches mailing-list
> Subject: sync(3)
> Why is this a bad idea?
> Reini Urban