Subject: Re: Win32 build fix - UT_unlink
From: Mike Nordell (tamlin@algonet.se)
Date: Sun Oct 14 2001 - 06:03:56 CDT
Aaron Lehmann wrote:
> remove has slightly different behavior than unlink
>
> remove deletes a name from the filesystem. It calls
> unlink for files, and rmdir for directories.
Well I be... :-)
This is clearly a place where MS and *nix don't play along too well. MS
documentation states remove() is only used for files while *nix docs state
it's to remove both files and dirs. A obviously trust the *nix docs more,
but do we have anyone anyone here that has access to the (pre 99) ANSI C
standard? Could it be that the standard only says "filesystem entry" or
something like that?
/Mike - please don't cc
This archive was generated by hypermail 2b25 : Sun Oct 14 2001 - 06:05:09 CDT