projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb8c498
)
Bug 112, return value of awk should be /256. In reality, we should probably
author
Rob Landley
<rob@landley.net>
Mon, 9 Jan 2006 05:26:58 +0000
(
05:26
-0000)
committer
Rob Landley
<rob@landley.net>
Mon, 9 Jan 2006 05:26:58 +0000
(
05:26
-0000)
be using WEXITSTATUS(), but until I can figure out why the heck that would
want to do (*(int *) &(status)) on the value, I'm happy just fixing the bug we
actually see.
editors/awk.c
patch
|
blob
|
history
diff --git
a/editors/awk.c
b/editors/awk.c
index cb54d2597e3ca46916f69d5d99b585d06323b9d6..4bd872924d05d229ada2fe88e1ea06a620cb834e 100644
(file)
--- a/
editors/awk.c
+++ b/
editors/awk.c
@@
-2370,7
+2370,7
@@
re_cont:
case F_sy:
fflush(NULL);
- R.d = (L.s && *L.s) ?
system(L.s
) : 0;
+ R.d = (L.s && *L.s) ?
(system(L.s) >> 8
) : 0;
break;
case F_ff: