bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tar does not strip trailing slashes before mkdir()


From: Jonathan P Tomer
Subject: Re: tar does not strip trailing slashes before mkdir()
Date: Thu, 4 Jan 2001 15:54:43 -0500
User-agent: Mutt/1.2.5i

On Thu, Jan 04, 2001 at 09:41:21PM +0100, Marcus Brinkmann wrote:
> Hi,
> 
> the latest tar 1.13.18 does not work correctly on the Hurd. It fails with
> an EINVAL from mkdir when trying to create "foo/" when extracting some
> archives (which contain this pathname).
> 
> Now, POSIX doesn't say that trailing slashes can be added to arbitrary
> pathnames, it says they can if the pathname refers to a directory.
> But until it is created, the pathname foo/ doesn't refer to a directory
> (instead, it is inexistant). The Hurd is strict about this, and refuses
> to create 'foo/'.

i had seen evidence of this before, and i was wondering why it is the
case. is there any reason why mkdir() in glibc for the hurd does not
remove trailing /'s?

-- p.
"But the sheep seem to shower off this office tower, nine-point-eight
straight down." -- The Barenaked Ladies, "When I Fall"
PGP 5.0 key (0xE024447449) at http://cif.rochester.edu/~jpt/pubkey.txt

Attachment: pgpc0yCWZmYcN.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]