]> git.pld-linux.org Git - packages/gnustep-gui.git/blame - gnustep-gui-segv.patch
- converted to UTF-8
[packages/gnustep-gui.git] / gnustep-gui-segv.patch
CommitLineData
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 {
This page took 0.039107 seconds and 4 git commands to generate.