develooper Front page | perl.perl5.porters | Postings from January 2001

Re: [ID 20010111.021] (builtin)mkdir and File::Path::mkpath problem

Thread Previous | Thread Next
From:
Russ Allbery
Date:
January 17, 2001 06:52
Subject:
Re: [ID 20010111.021] (builtin)mkdir and File::Path::mkpath problem
Message ID:
ylu26ymds7.fsf@windlord.stanford.edu
Jarkko Hietaniemi <jhi@iki.fi> writes:

> I guess we could snip away a trailing slash.  How about filesystems
> with-non-slash element separators, any experience/opinions, anyone?

It may also be worthwhile to check POSIX and see what it says mkdir should
do in this case.  I know that POSIX (or maybe it was X/Open) actually has
a lot of stuff in it about what a trailing slash on a file name means and
it's supposed to change the behavior of various commands in sometimes
interesting and unintuitive ways.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About