mkdir -p and EROFS
Thu Oct 13 12:47:00 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
According to Paul Eggert on 10/12/2005 3:24 PM:
> Thanks for reporting this. It is indeed a bug in
> coreutils/lib/mkdir-p.c. It can be triggered by other errors too.
> This is hard to write a test case for, but I'd like to fix things.
> Does the following patch work for you?
> 2005-10-12 Paul Eggert <firstname.lastname@example.org>
> * mkdir-p.c (make_dir_parents): Don't fail if an intervening mkdir
> fails due to EROFS, or due to EEXIST or other reasons for that matter.
> Problem reported by Eric Blake.
> (ENOSYS): Remove; no longer needed.
This patch also has the nice side effect that mkdir -p c:\dir succeeds
again, since it no longer filters on the EACCES being returned by
mkdir("c:"). Expect a coreutils-5.90-3 when I get a chance to bundle it
together in the next couple of days.
Life is short - so eat dessert first!
Eric Blake email@example.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin