[BusyBox-cvs] busybox/shell ash.c,1.82,1.83
Glenn McGrath
bug1 at busybox.net
Fri Nov 14 21:01:30 UTC 2003
Update of /var/cvs/busybox/shell
In directory winder:/tmp/cvs-serv22581/shell
Modified Files:
ash.c
Log Message:
Fix a "broken pipe" problem. vodz, last_patch_116-2
Index: ash.c
===================================================================
RCS file: /var/cvs/busybox/shell/ash.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- ash.c 22 Oct 2003 10:56:47 -0000 1.82
+++ ash.c 14 Nov 2003 21:01:26 -0000 1.83
@@ -6690,10 +6690,6 @@
#endif
st = WTERMSIG(status);
if (sigonly) {
- if(st == SIGPIPE) {
- col = fmtstr(s, 16, "Broken pipe");
- goto out;
- }
if (st == SIGINT)
goto out;
#if JOBS
@@ -6702,7 +6698,7 @@
#endif
}
st &= 0x7f;
- col = fmtstr(s, 32, u_signal_names(NULL, &st, 0));
+ col = fmtstr(s, 32, strsignal(st));
if (WCOREDUMP(status)) {
col += fmtstr(s + col, 16, " (core dumped)");
}
More information about the busybox-cvs
mailing list