]> Dogcows Code - chaz/tar/commit
Avoid overwriting exit_status with a value indicating less important condition.
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 8 Sep 2009 08:04:48 +0000 (11:04 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 8 Sep 2009 08:04:48 +0000 (11:04 +0300)
commit0d8e3249123ecf0175b60c7b43056ac811eb6921
treed600c712707ef3d2310eece7ab50ea259c8c348b
parentcef4d5e83830763a1acd5d603fb62a356df27299
Avoid overwriting exit_status with a value indicating less important condition.

* src/tar.c (set_exit_status): New function.
* src/common.h (set_exit_status): New prototype.
* src/compare.c: Use set_exit_status instead of
exit_status assignments.
* src/create.c: Likewise.
* src/misc.c: Likewise.

* src/system.c (wait_for_grandchild): Use auto variable
instead of the global exit_status.
* src/incremen.c (scan_directory): Use file_removed_diag
instead of stat_diag.
src/common.h
src/compare.c
src/create.c
src/incremen.c
src/misc.c
src/system.c
src/tar.c
This page took 0.030632 seconds and 4 git commands to generate.