Date: Fri, 17 May 2002 04:52:49 -0700 (PDT) From: "Andrey A. Chernov" <ache@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/cp cp.c Message-ID: <200205171152.g4HBqn195015@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2002/05/17 04:52:49 PDT
Modified files:
bin/cp cp.c
Log:
Trailing slash fixes.
Fix the case:
cp file nonexistent/
which create nonextstent as file while trailing slash clearly indicates
that nonexistent must be a directory.
Also fix the case:
cp file1 file2/
which should produce error.
Revision Changes Path
1.34 +12 -2 src/bin/cp/cp.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205171152.g4HBqn195015>
