Wim Oudshoorn <[EMAIL PROTECTED]> writes:
------------------------------------------------------------------------
*** base/Source/NSBundle.m 2003/06/20 15:02:27 1.1.1.2
--- base/Source/NSBundle.m 2003/06/20 15:07:53 1.3
***************
*** 780,786 ****
the executable name here - just in case it turns out it's a
tool. */
NSString *toolName = [_executable_path lastPathComponent];
! /* Strip off the name of the program */
path = [_executable_path stringByDeletingLastPathComponent];
--- 780,789 ----
the executable name here - just in case it turns out it's a
tool. */
NSString *toolName = [_executable_path lastPathComponent];
! #if defined(__WIN32__)
! toolName = [toolName stringByDeletingPathExtension];
! #endif
! /* Strip off the name of the program */
path = [_executable_path stringByDeletingLastPathComponent];
AFAIK __WIN32__ is the only plattform that uses the path extension on executables... But even if not, if -make removes it for Windoze, then I take it (but didn't check) it would do it for any other plattform that has path extensions on executables. So I'm wondering whether we should unconditionally remove the path extension...
Cheers, David
_______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep
