[BACK]Return to MyEnvironment.m CVS log [TXT][DIR] Up to [local] / OpenXM / src / cfep

Diff for /OpenXM/src/cfep/MyEnvironment.m between version 1.1.1.1 and 1.2

version 1.1.1.1, 2006/03/03 23:31:12 version 1.2, 2006/03/06 08:55:31
Line 127 
Line 127 
     }else{      }else{
       [myUnixEnvironment setObject: s forKey: @"DYLD_LIBRARY_PATH"];        [myUnixEnvironment setObject: s forKey: @"DYLD_LIBRARY_PATH"];
     }      }
   
       s = NSHomeDirectory();
       [myUnixEnvironment setObject: s forKey: @"HOME"];
   
       s = NSLocalizedString(@"PATH",nil);
       if ([s compare: @"PATH"] == NSOrderedSame) {
         char *path;
             NSString *defaultPath;
             defaultPath=@"/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/sw/bin:/sw/sbin:/usr/local/bin";
             path = getenv("PATH");
             if (!path) {
               s = [NSString stringWithCString: path length: strlen(path)];
                   s = [s stringByAppendingString: @":"];
                   s = [s stringByAppendingString: defaultPath];
                   [myUnixEnvironment setObject: s forKey: @"PATH"];
          } else [myUnixEnvironment setObject: defaultPath forKey: @"PATH"];
       } else {
              [myUnixEnvironment setObject: s forKey: @"PATH"];
       }
   
   
     myDefaultTypingAttributes=      myDefaultTypingAttributes=
       [NSDictionary dictionaryWithObject: [NSFont fontWithName: @"Courier" size: 12] forKey: @"NSFont"];        [NSDictionary dictionaryWithObject: [NSFont fontWithName: @"Courier" size: 12] forKey: @"NSFont"];

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>