(make_dir): Remove. All uses replaced by mkdir.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Jun 2005 23:56:49 +0000 (23:56 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Jun 2005 23:56:49 +0000 (23:56 +0000)
commit153854cc31f33964cfe59d880fc93e649cf874bb
tree7b9a6d8e5fb1e34e577ea8822983f4a2c348ff57
parent616a6e514699cb160cdedd00367091a7b7b6be01
(make_dir): Remove.  All uses replaced by mkdir.
(make_dir_parents): Last arg is now int * (for errno), not bool *.
Rewrite "mkdir -p" algorithm to avoid the need for "stat"
each time through the loop.  Do not diagnose restore_cwd failure;
that is the caller's job (and perhaps the caller does not care).
lib/mkdir-p.c