This is the mail archive of the
cygwin
mailing list for the Cygwin project.
unlink(2) or fopen(3) failing under cygwin
- From: Blair P. Houghton <blair at houghton dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 23 Mar 2004 16:44:41 +0000 (UTC)
- Subject: 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/