This is the mail archive of the cygwin-developers@sources.redhat.com 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]

Re: RFD: remove(3)


On Tuesday 19 December 2000 16:57, Christopher Faylor wrote:
> On Tue, Dec 19, 2000 at 10:44:35AM -0500, Larry Hall (RFK Partners, Inc) wrote:
> >At 04:47 AM 12/19/2000, Corinna Vinschen wrote:
> >>The remove(3) call in newlib is implemented as a simple call to
> >> unlink(2).
> >>
> >>SUSv2/Linux/OpenBSD on the other hand define remove(3) as follows:
> >>
> >>   If path does not name a directory, remove(path) is equivalent to
> >> unlink(path). If path names a directory, remove(path) is
> >> equivalent to rmdir(path).
> >>
> >>I would plead to implement our own remove(3) call, overriding the
> >> newlib implementation. AFAICS, we can't change the newlib
> >> implementation because newlib doesn't know of rmdir(2) at all.
> >>
> >>Thoughts?
> >
> >Do it!;-)
>
> Sure.

Ok.

Corinna

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