BusyBox Bug and Patch Tracking
BusyBox
  

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

- Relationships

- Notes
(0000654)
landley
11-03-05 17:22

Fixed in svn 12146.
 

- Issue History
Date Modified Username Field Change
10-20-05 02:39 schweikhardt New Issue
10-20-05 02:39 schweikhardt Status new => assigned
10-20-05 02:39 schweikhardt Assigned To  => BusyBox
11-03-05 17:22 landley Note Added: 0000654
11-03-05 17:22 landley Status assigned => closed
11-03-05 17:22 landley Resolution open => fixed
11-03-05 17:22 landley version 1.00 => svn


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker