Hi! > The bottom line: rmdir(".") is gone. Replace it with portable equivalent, > namely > p = getcwd(pwd, sizeof(pwd)); > if (!p) > /* handle error - ERANGE or ENOENT */ > rmdir(p); > Shell equivalent is rmdir `pwd`. Also portable. ...when you are lucky and all directories up to your path are readable... Which is not always so. With old glibc, it will fail. Pavel -- I'm [EMAIL PROTECTED] "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t. patents at [EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in 2.4 Stephen C. Tweedie
- Re: `rmdir .` doesn't work in 2.4 Stefan Traby
- Re: `rmdir .` doesn't work in 2.4 Benson Chow
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in 2.4 Wakko Warner
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in... Marc Lehmann
- Re: `rmdir .` doesn't work in 2.4 Bernhard Rosenkraenzer
- Re: `rmdir .` doesn't work in 2.4 Alexander Viro
- Re: `rmdir .` doesn't work in 2.4 Pavel Machek
- Re: `rmdir .` doesn't work in 2.4 Andries . Brouwer
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in 2.4 Matthias Andree
- Re: `rmdir .` doesn't work in 2.4 Andries . Brouwer
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in 2.4 Kurt Roeckx
- Re: `rmdir .` doesn't work in 2.4 Andries . Brouwer
- Re: `rmdir .` doesn't work in 2.4 Jesse Pollard
- Re: `rmdir .` doesn't work in 2.4 Andrea Arcangeli
- Re: `rmdir .` doesn't work in 2.4 Stephen C. Tweedie