| Anonymous | Login | Signup for a new account | 11-10-2008 10:51 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000493 | [BusyBox] Standards Compliance | minor | always | 10-20-05 02:39 | 11-03-05 17:22 | ||||
| Reporter | schweikhardt | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | svn | ||||||
| Summary | 0000493: cp returns exit status 0 for certain failure modes | ||||||||
| Description |
# cp -? # to print version info cp: invalid option -- ? BusyBox v1.00-rc3 (2004.10.07-07:15+0000) multi-call binary Usage: cp [OPTION]... SOURCE DEST Copies SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY. -a Same as -dpR -d Preserves links -p Preserves file attributes if possible -f force (implied; ignored) - always set -i interactive, prompt before overwrite -R,-r Copies directories recursively # cp nonexistent foo cp: nonexistent: No such file or directory # echo $? 1 # Correct. # cp verybigfile foo cp: Write Error: No space left on device # echo $? 0 # Bug. Should be non-zero according to POSIX. |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |