NetBSD/bin/cp
pooka 4515588628 Fix the "dne" handling and chmod behaviour properly: values of dne
need to be on a stack instead of being a single variable since
directories are processed depth-first.  Otherwise dne randomly
depends on the previously processed entry.

This fixes both chmod of non-created directories (they used to be
chmod'd even when not created if their last child element did not
exist in the target subtree) and a "foo exists" bug exposed by my
last commit which removed directory sorting.

all regression tests passed
2009-10-08 20:36:41 +00:00
..
cp.1 Sync SYNOPSIS with usage() (correct location of -P). 2007-10-26 16:31:16 +00:00
cp.c Fix the "dne" handling and chmod behaviour properly: values of dne 2009-10-08 20:36:41 +00:00
extern.h return functionality backed out yesterday after fixing the bug I had 2006-07-16 16:22:24 +00:00
Makefile
utils.c Add -N to usage. 2007-10-26 16:21:25 +00:00