From d929f55abe94bf55f7caeeb778636f008d3d9cdc Mon Sep 17 00:00:00 2001 From: CaS Date: Thu, 12 Apr 2001 21:59:19 +0000 Subject: [PATCH] Fix line missed from last patch git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9575 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/NSProcessInfo.m | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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