This patch fixes a problem that occurs for Windows 2000 and
probably other Windows flavours, where the PATH env variable
is named "Path" not "PATH". After checking for "PATH", if it
comes back as nil, "Path" is checked (for all platforms).
This fixes a bug which manifested in a failed NSAssert.
Stephen Brandon
[EMAIL PROTECTED]
Index: base/Source/NSBundle.m
===================================================================
RCS file: /cvsroot/gnustep/gnustep/core/base/Source/NSBundle.m,v
retrieving revision 1.87
diff -r1.87 NSBundle.m
1331a1332,1337
>
> /* Windows 2000 and perhaps others have "Path" not "PATH" */
> if (pathlist == nil)
> {
> pathlist = [env objectForKey:@"Path"];
> }