rmdir (2) doesn't remove <path> ending with /.
Yury Tarasievich
grog at grsu.by
Sat Jul 30 07:17:14 PDT 2005
On 30 July 2005 17:05, Joerg Sonnenberger wrote:
> On Sat, Jul 30, 2005 at 04:28:37PM +0300, Yury Tarasievich wrote:
> > Just noticed with yesterday's checkout and firefox build process. Retuns
> > "invalid argument". Throwing quick removal of trailing '/.' into calling
> > code helped but is it really meant to be so - is trailing dot qualified
> > as "content"?
>
> To quote SUSv3:
> The meaning of deleting pathname /dot is unclear, because the name
> of the file (directory) in the parent directory to be removed is not
> clear, particularly
> in the presence of multiple links to a directory.
Then port of firefox ought to have patch of nsprpub/config/nsinstall.c
included, removing trailing dots which're used there a lot like this: rmdir
("whatever/.")
More information about the Bugs
mailing list