This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: rename() in B18..
- To: Michael Hirmke <mh at minimike dot franken dot de>, gnu-win32 at cygnus dot com
- Subject: Re: rename() in B18..
- From: Keet <Keetnet at wilmington dot net>
- Date: Sat, 14 Jun 1997 11:16:28 -0400
>
>You try to unlink open files !
>
Under UNIX, it's perfectly legal to unlink a file BEFORE it is closed,
because UNIX only deletes the filename, and not the inode. This is one of
the incompatibility problems between UNIX and Windows. Under a FAT based
system you can't unlink a file because the filename IS the file. What I
suspect, is that for the sake of compatibility Cygwin is silently failing
when attempting to unlink an open file, and is thus never deleted. It seems
that there is a large problem in that area. Under UNIX there are a large
number of programs that really do rely on the ability to unlink() a file
before it is closed. Any more ideas on the matter? (other than loosing some
UNIX compatibility and having to rewrite the source that does not close a
file before it is unlinked? which is, perfectly legal in UNIX).
- Greg Neujahr
Foxbird / Keet
keetnet@wilmington.net
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".