Commit d5907e80aef3248b3703b253d2806a4167c52fe8

Jim Meyering 1999-05-06T02:10:34

(make_dir): When reporting a mkdir failure and the target cannot be `stat'ed, use the errno from the failed mkdir call, not the one from the stat call. Before this change, running `mkdir -p /no-dir/no-dir' as an unprivileged user would wrongly elicit `No such file or directory' instead of `Permission denied'.