diff options
author | Rob Landley <rob@landley.net> | 2006-08-22 23:40:28 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-08-22 23:40:28 +0000 |
commit | ecb29573e9d2caf59de17fcb4efff129b35ad792 (patch) | |
tree | be1be2a0dadab03bb2ca20751b0c60524a53dcb1 /miscutils/strings.c | |
parent | 98a915713d8d07dccd47067869978ec73543cbfc (diff) | |
download | busybox-ecb29573e9d2caf59de17fcb4efff129b35ad792.tar.gz |
"Jordan Crouse" <jordan.crouse@amd.com> says:
The following patch makes coreutils/test.c act fail gracefully if getgroups()
returns a -1. This fixes a problem on the One Laptop Per Child ROM image
whereby we were getting odd Memory exhausted messages for '[' and 'test'.
Found by Mitch Bradley <wmb@firmworks.com>
(Tweaked by Rob: no need to initialize a static to NULL, or realloc something
that's only allocated when it's NULL.)
Diffstat (limited to 'miscutils/strings.c')
0 files changed, 0 insertions, 0 deletions