diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-11-08 05:43:55 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-11-08 05:43:55 +0800 |
commit | 4c1f07834dfd2ce700f740c24441b3f9c82fa5f6 (patch) | |
tree | 21ebcef1322dd50e14c8371e876036f222ecb9eb /lang/gnustep-base/files | |
parent | ac70ed51a5eb08632fde62364f7578dc1b0704c0 (diff) | |
download | freebsd-ports-gnome-4c1f07834dfd2ce700f740c24441b3f9c82fa5f6.tar.gz freebsd-ports-gnome-4c1f07834dfd2ce700f740c24441b3f9c82fa5f6.tar.zst freebsd-ports-gnome-4c1f07834dfd2ce700f740c24441b3f9c82fa5f6.zip |
- update to 1.10.0 (stable)
Diffstat (limited to 'lang/gnustep-base/files')
-rw-r--r-- | lang/gnustep-base/files/NSFileManager.m.patch | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/lang/gnustep-base/files/NSFileManager.m.patch b/lang/gnustep-base/files/NSFileManager.m.patch index 1325f4466629..d787ef095dae 100644 --- a/lang/gnustep-base/files/NSFileManager.m.patch +++ b/lang/gnustep-base/files/NSFileManager.m.patch @@ -1,19 +1,27 @@ ---- Source/NSFileManager.m.orig Thu Oct 9 11:31:35 2003 -+++ Source/NSFileManager.m Sat Apr 24 07:39:43 2004 -@@ -589,6 +589,12 @@ - int len, cur; +--- Source/NSFileManager.m.orig Sat Jul 10 05:19:56 2004 ++++ Source/NSFileManager.m Tue Sep 14 16:56:38 2004 +@@ -567,6 +567,12 @@ NSDictionary *needChown = nil; - + #endif + + if (path == nil) // don't try to do anything when path is nil + { + ASSIGN(_lastError, @"Could not create directory - name is nil"); + return NO; + } + + /* This is consitent with MacOSX - just return NO for an invalid path. */ + if ([path length] == 0) + return NO; +@@ -599,7 +605,6 @@ + } + + #else +- /* * If there is no file owner specified, and we are running setuid to * root, then we assume we need to change ownership to correct user. -@@ -682,6 +688,12 @@ +@@ -693,6 +698,12 @@ while (cur < len); #endif /* !MINGW */ |