Messages in this thread | | | Date | Wed, 20 Mar 1996 08:39:40 +0000 | From | Nick Randell <> | Subject | Re: rmdir system call |
| |
Ulrich Windl wrote: > > On 20 Mar 96 at 7:26, Nick Randell wrote: > > > I have some code which is calling rmdir and passing the directory name > > is with a trailing '/'. > > > > eg rmdir("/tmp/nick/") > > > > The system call is returning with 'ENOENT'. > > > > > > The same code works ok on other operating systems. (HPUX, IRIX, AIX ...) > > > > > > Like my last posting, which is right? > > > > If Linux is wrong, what can I do about it? > > Remove the trailing '/', and it will work on every machine. >
I can do that but why is the linux rmdir different?
Should you be able to call rmdir with a trailing '/'?
| |