Include mkancesdirs.h.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 17 Jul 2006 03:09:49 +0000 (03:09 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 17 Jul 2006 03:09:49 +0000 (03:09 +0000)
commit83978a56548b99af768a6a9068f006bd00ab8ae7
tree92cc28556d3d3982395389934e01d44b0e49ad02
parent8401b6ae54fed6dcfcfa68b80c3ec9a05848d343
Include mkancesdirs.h.
(announce_mkdir, make_ancestor): New functions.
(DEFAULT_MODE): New macro, specifying initial value of 'mode'.
(mode): Use it.
(dir_mode, dir_mode_bits): New vars.
(main): Set dir modes separately from nondir, so that the X
op of -m works correctly.
(main): Remove cwd_errno cruft, since make_dir_parents no longer
affects cwd.  Adjust to new make_dir_parents API.
(install_file_in_file_parents): 2nd arg is now char *, not char
const *.  Use mkancesdirs instead of rolling our own code.
(change_attributes): Don't worry about AFS, since that kludge
should not be needed any more.
src/install.c