(create_parents): Remove static var (now local to 'main').
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Jun 2005 23:55:47 +0000 (23:55 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 14 Jun 2005 23:55:47 +0000 (23:55 +0000)
commit0b2ac253e7a1e95827115e85ba5fe90e570b81df
treea93736c6af81ec6b6c70320a41cb1614769fc108
parent3f47e8458ac87c5af5a32001177c1b153a16a8bc
(create_parents): Remove static var (now local to 'main').
(main): Standardize on a diagnostic for restore_cwd failure,
and report errno.
Don't bother to check cwd_errno unless create_parents.
Use mkdir rather than make_dir; it's simpler.
src/mkdir.c