Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-4] src



Module Name:    src
Committed By:   ghen
Date:           Mon Aug 21 10:59:53 UTC 2006

Modified Files:
        src/bin/cp [netbsd-4]: cp.c
        src/regress/bin/cp [netbsd-4]: cp.sh

Log Message:
Pull up following revision(s) (requested by tron in ticket #30):
        regress/bin/cp/cp.sh: revision 1.2
        regress/bin/cp/cp.sh: revision 1.3
        bin/cp/cp.c: revision 1.45
        bin/cp/cp.c: revision 1.46
Avoid errors like "cp: /foo/bar/directory" exists if cp(1) is used to
copy multiple directories and the first one doesn't exist in the
target directiry but another one (e.g. the second) does.
initialize dne variable in the beginning, then move the resetting of
this variable down into the second (ie post-order) pass to make cp
pass all regression tests again.
allow each dir_to_dir test to be run individually without having to
rely on previous tests that set up the files and directories;
while here, clarify in each error message where exactly the error occurred
add a regression test for copying several subdirs into a target directory
where some subdirs already exist


To generate a diff of this commit:
cvs rdiff -r1.44 -r1.44.2.1 src/bin/cp/cp.c
cvs rdiff -r1.1 -r1.1.2.1 src/regress/bin/cp/cp.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index