Re: Win32 build fix - UT_unlink


Subject: Re: Win32 build fix - UT_unlink
From: Aaron Lehmann (aaronl@vitelus.com)
Date: Sun Oct 14 2001 - 05:26:21 CDT


On Sun, Oct 14, 2001 at 10:15:14AM +0200, Mike Nordell wrote:
> 2. This function should probably not even exist. As is noted in the patch,
> remove() is an ANSI C function and as such should be available on all our
> platforms. Or...? :-)
> (should any platform not have remove() I think it's more appropriate for
> _that_ platform to implement it)

remove has slightly different behavior than unlink

       remove deletes a name from the filesystem. It calls
       unlink for files, and rmdir for directories.

so it would be okay to use it as long as you keep that in mind.



This archive was generated by hypermail 2b25 : Sun Oct 14 2001 - 05:26:39 CDT