NetBSD-Bugs archive

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

bin/41736: pax reports an error when copying zero files



>Number:         41736
>Category:       bin
>Synopsis:       pax reports an error when copying zero files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 16 00:25:00 +0000 2009
>Originator:     Lloyd Parkes
>Release:        5.99.12
>Organization:
Must Have Coffee
>Environment:
NetBSD rhox.must-have-coffee.gen.nz 5.0 NetBSD 5.0 (GENERIC) #0: Wed Jun  3 
19:08:54 NZST 2009  
lloyd%homarid.must-have-coffee.gen.nz@localhost:/vol/scratch/obj5/amd64/sys/arch/amd64/compile/GENERIC
 amd64
>Description:
If pax is run in copy mode and the list of files to copy is empty, then pax's 
exit status is 1. It should be 0. 


>How-To-Repeat:
pax -rw . < /dev/null
echo $?

>Fix:



Home | Main Index | Thread Index | Old Index