This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

unlink(2) or fopen(3) failing under cygwin


I forget.  What's the command to dump the system config?

Here's what `uname -a' says:

    CYGWIN_NT-5.1 eMachine64-3000 1.5.7(0.109/3/2) \ 
2004-01-30 19:32 i686 unknown unknown Cygwin

unlink(2) seems to be causing a subsequent fopen(3)
to fail.  Originally, it was the unlink call that
failed, but putting it in a loop

    while(!unlink(...))

made it work.

Does anyone know of any reason an fopen on the
just-unlinked file would fail under Cygwin?

--Blair


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]