diff --git a/ChangeLog b/ChangeLog index 3c670218b..c50ec4861 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-04-12 Richard Frith-Macdonald + + * Source/NSProcessInfo.m ([load]): Fixed single line change somehow + missed from last patch. + 2001-04-12 Adam Fedor * Headers/gnustep/base/NSLock.h: Include thrmach.h if NeXT_RUNTIME. diff --git a/Source/NSProcessInfo.m b/Source/NSProcessInfo.m index ac42ebc03..75ce7e6e9 100644 --- a/Source/NSProcessInfo.m +++ b/Source/NSProcessInfo.m @@ -383,7 +383,7 @@ static char **_gnu_noobjc_env; } argument = 0; position = 0; - while (1) + while (argument < _gnu_noobjc_argc) { c = getc(ifp); if ((c == EOF) || (c == 0)) // End of a parameter