diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-15 14:42:39 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-09-15 14:42:39 +0000 |
commit | a3822de23e8d2b1c173eab6925676de54c38b6f2 (patch) | |
tree | 3a11af1cde739c63d4dbf8f1f15a7814d4a13d3b /libbb/Makefile.in | |
parent | e16ab475ad1ecaad09e714458f441057f7a49ea9 (diff) | |
download | busybox-a3822de23e8d2b1c173eab6925676de54c38b6f2.tar.gz |
Patch from Bastian Blank to fix a problem when runing find under ash.
"If the shell is compiled with -DJOBS, this is all fine -- find wasn't
stopped (it was killed), so it correctly uses WTERMSIG instead of WSTOPSIG.
However, if the shell _isn't_ compiled with -DJOBS (which it isn't in d-i),
only WSTOPSIG is used, which extracts the high byte instead of the low
byte from the status code. Since the status code is 13 (SIGPIPE), "st"
suddenly gets the value 0, which is equivalent to SIGEXIT. Thus, ash prints
out "EXIT" on find's exit."
Diffstat (limited to 'libbb/Makefile.in')
0 files changed, 0 insertions, 0 deletions