Where has fdatasync gone?

Alejandro Lopez-Valencia dradul@etb.net.co
Mon Feb 9 10:27:00 GMT 2004


On Sun, 08 Feb 2004 20:31:51 -0500, Alejandro Lopez-Valencia wrote in
<dold20p89tosuck019kcorbqikrtk88l47@4ax.com>:

>In the 1.5.7 runtime, the prototype for fdatasync exists in
>/usr/include/sys/unistd.h, but it is nowhere to be found in the actual
>import library.
>
>Is this a newlib or a cygwin bug?
>
>Reproducint the bug:
>
>$ grep fdatasync /usr/include/sys/unistd.h
>
>$ nm /usr/lib/libc.a | grep 'T __fdatasync'

Aha! Loking at the cvsweb interphase[1], I se that CGF just fixed the
problem in Newlib (see version 1.49).

Thanks

[1] This *will* wrap.
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/include/sys/unistd.h?cvsroot=src


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list