busybox/e2fsprogs
Denys Vlasenko ccb8e4bc4f fsck: fix incorrect handling of child exit
In commit

  c4fb8c6a - fsck: do not use statics

not only statics were changed but also a couple of
statics-unrelated changes were made.

This included the handling of the child termination status
as follows:

    - if (WIFEXITED(status))
    -   status = WEXITSTATUS(status);
    - else if (WIFSIGNALED(status)) {
    + status = WEXITSTATUS(status);
    + if (WIFSIGNALED(status)) {

This is wrong, should have used a different variable to hold exit code.

Reported by Niklas Hambüchen <mail@nh2.me>.

function                                             old     new   delta
wait_one                                             294     282     -12

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-05-24 15:29:15 +02:00
..
chattr.c chattr,lsattr,tune2fs: make them NOEXEC 2017-08-05 20:38:04 +02:00
Config.src e2fsprogs/*: convert to new-style "one file" applets 2015-10-18 22:40:23 +02:00
e2fs_lib.c *: slap on a few ALIGN1/2s where appropriate 2016-04-22 18:09:21 +02:00
e2fs_lib.h do not use `a' quoting style in comments 2017-08-02 14:26:33 +02:00
fsck.c fsck: fix incorrect handling of child exit 2018-05-24 15:29:15 +02:00
Kbuild.src e2fsprogs/*: convert to new-style "one file" applets 2015-10-18 22:40:23 +02:00
lsattr.c chattr,lsattr,tune2fs: make them NOEXEC 2017-08-05 20:38:04 +02:00
README
tune2fs.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00

Authors and contributors of original e2fsprogs:

Remy Card <card@masi.ibp.fr>
Theodore Ts'o <tytso@mit.edu>
Stephen C. Tweedie <sct@redhat.com>
Andreas Gruenbacher, <a.gruenbacher@computer.org>
Kaz Kylheku <kaz@ashi.footprints.net>
F.W. ten Wolde <franky@duteca.et.tudelft.nl>
Jeremy Fitzhardinge <jeremy@zip.com.au>
M.J.E. Mol <marcel@duteca.et.tudelft.nl>
Miquel van Smoorenburg <miquels@drinkel.ow.org>
Uwe Ohse <uwe@tirka.gun.de>