fix umask manipulation (make it like old cp) -- a little tricky.
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 14 Aug 1989 04:18:17 +0000 (20:18 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Mon, 14 Aug 1989 04:18:17 +0000 (20:18 -0800)
commit24e5a125aa65af8c5720f1e8ca33b5a1aa549832
tree2f64a24e2adb69ee976c5d02a4f640d804ff217a
parent7e5f7f0dc36d6340225fdfc309ccd1e14767ef0e
fix umask manipulation (make it like old cp) -- a little tricky.
created directories are same as source, created files are source - umask.
don't use st_ino to store directory DNE flag; use fchmod/fchown if possible
some minor reorganization and whacks

SCCS-vsn: bin/cp/cp.c 5.6
SCCS-vsn: bin/cp/cp.1 6.5
usr/src/bin/cp/cp.1
usr/src/bin/cp/cp.c