]> git.pld-linux.org Git - packages/gnustep-gui.git/blob - gnustep-gui-segv.patch
- updated to 0.10.0 (note: new soname)
[packages/gnustep-gui.git] / gnustep-gui-segv.patch
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      {
This page took 0.057805 seconds and 3 git commands to generate.