DragonFly BSD
DragonFly submit List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [patch] /bin/cp POSIX conformance


From: Jason Smethers <jason@xxxxxxxxxxxx>
Date: Mon, 20 Dec 2004 12:49:58 -0600

IEEE Std 1003.1-2004 also states the following for the cp utility under section 2e:

2. If source_file is of type directory, the following steps shall be taken:

. ..

e. ... If dest_file cannot be created, cp shall write a diagnostic message to standard error, do nothing more with source_file, and go on to any remaining files. ...



Currently the cp utility exits with the error message. An updated inclusive patch is listed below.


- Jason



<http://www.smethers.net/~jason/patches/cp.c.diff2>




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