OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0e56ed
)
Fix thinko for uname -m when i686 binary runs on x86_64 host.
author
Rob Landley
<rob@landley.net>
Tue, 9 Oct 2012 02:24:19 +0000
(21:24 -0500)
committer
Rob Landley
<rob@landley.net>
Tue, 9 Oct 2012 02:24:19 +0000
(21:24 -0500)
toys/posix/uname.c
patch
|
blob
|
history
diff --git
a/toys/posix/uname.c
b/toys/posix/uname.c
index
3c774b3
..
fcc92a0
100644
(file)
--- a/
toys/posix/uname.c
+++ b/
toys/posix/uname.c
@@
-56,8
+56,10
@@
void uname_main(void)
// This problem originates in autoconf, so of course the solution
// is horribly ugly.
#ifdef GROSS
- if (i==4 && !strcmp(c,"x86_64")) printf(GROSS);
- else
+ if (i==4 && !strcmp(c,"x86_64")) {
+ printf(GROSS);
+ continue;
+ }
#endif
if (needspace++) {