cURL / Mailing Lists / curl-library / Single Mail


fflush and fsync

From: Dan Fandrich <>
Date: Mon, 21 Apr 2008 14:05:48 -0700

The new fflush and fsync calls that have been added to the test server
are checked in configure and only used if found. fflush is part of ANSI C,
so that's safe to use unconditionally. fsync shouldn't even be needed within
curl. Whether log files are physically on disk or merely in the cache should
have no effect on the success of any curl operation. Is that call actually
needed? The only time I can see that having an effect is when running the
curl test suite on a remote machine, which doesn't quite work properly
without some hacks, anyway.

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-04-21