OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f88a903
)
fix from cmetcalf to make sure we clear the auxvt table before using it
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 27 Nov 2006 15:25:32 +0000
(15:25 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 27 Nov 2006 15:25:32 +0000
(15:25 -0000)
libc/misc/internals/__uClibc_main.c
patch
|
blob
|
history
diff --git
a/libc/misc/internals/__uClibc_main.c
b/libc/misc/internals/__uClibc_main.c
index
ae595cf
..
7578a97
100644
(file)
--- a/
libc/misc/internals/__uClibc_main.c
+++ b/
libc/misc/internals/__uClibc_main.c
@@
-296,6
+296,7
@@
void __uClibc_main(int (*main)(int, char **, char **), int argc,
#ifdef __ARCH_USE_MMU__
/* Pull stuff from the ELF header when possible */
+ memset(auxvt, 0x00, sizeof(auxvt));
aux_dat = (unsigned long*)__environ;
while (*aux_dat) {
aux_dat++;