Source-Changes archive

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

CVS commit: [netbsd-9] src/usr.bin/progress



Module Name:    src
Committed By:   martin
Date:           Tue Oct 25 17:52:46 UTC 2022

Modified Files:
        src/usr.bin/progress [netbsd-9]: progress.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1547):

        usr.bin/progress/progress.c: revision 1.24
        usr.bin/progress/progress.c: revision 1.25

Test errno when the return value from wait() indicates an error, not
when it indicates success.  PR install/56303.

Add missing check for error returns from read().  Found by inspection
while reviewing the changes suggested by RVP in PR install/56303, but
not believed to be the cause of the failure reported in that PR.


To generate a diff of this commit:
cvs rdiff -u -r1.21.18.1 -r1.21.18.2 src/usr.bin/progress/progress.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index