]>
Commit | Line | Data |
---|---|---|
c3976e0d JB |
1 | --- gnustep-gui-0.9.1/Tools/make_services.m.orig 2003-10-10 05:55:11.000000000 +0200 |
2 | +++ gnustep-gui-0.9.1/Tools/make_services.m 2003-12-29 16:08:38.987141624 +0100 | |
3 | @@ -199,6 +199,12 @@ | |
4 | usrRoot = [NSSearchPathForDirectoriesInDomains(NSUserDirectory, | |
5 | NSUserDomainMask, YES) lastObject]; | |
6 | ||
7 | + /* don't SEGV if ~/GNUstep doesn't exist */ | |
8 | + if(usrRoot == nil) | |
9 | + { | |
10 | + exit(EXIT_FAILURE); | |
11 | + } | |
12 | + | |
13 | mgr = [NSFileManager defaultManager]; | |
14 | if (([mgr fileExistsAtPath: usrRoot isDirectory: &isDir] && isDir) == 0) | |
15 | { |