RE: mac FilesystemLayout is broken (patch)

2007-03-30 Thread Nicola Pero
Thanks Tim!

I fixed the 'mac' file system layout as you suggested :-)

I think Richard made a change to NSPathUtilities.m to fix the case of empty 
paths.

Hope that fixes your problems, if not, let us know! :-)

Thanks



-Original Message-
From: Tim McIntosh [EMAIL PROTECTED]
Sent: Fri, March 30, 2007 7:24 am
To: GNUstep Developer gnustep-dev@gnu.org
Subject: mac FilesystemLayout is broken (patch)

Hi,

Can someone fix the 'mac' file system layout?  It is out of sync with  
the others.

Attached are patches to core/make/FilesystemLayouts/mac and core/base/ 
Source/NSPathUtilities.m, which seem to fix the problems for me.

The patch to NSPathUtilities.m is to fix  
NSSearchPathForDirectoriesInDomains(NSUserDirectory,  
NSAllDomainsMask, YES) so that it will just return (/Users, / 
Network/Users) rather than (/Users, /Network/Users, ).  It  
attempts to change the handling of keys in the config file with empty  
values, so that they are treated as if they were not specified at all.

Thanks!
-Tim


___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev



___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev


mac FilesystemLayout is broken (patch)

2007-03-29 Thread Tim McIntosh

Hi,

Can someone fix the 'mac' file system layout?  It is out of sync with  
the others.


Attached are patches to core/make/FilesystemLayouts/mac and core/base/ 
Source/NSPathUtilities.m, which seem to fix the problems for me.


The patch to NSPathUtilities.m is to fix  
NSSearchPathForDirectoriesInDomains(NSUserDirectory,  
NSAllDomainsMask, YES) so that it will just return (/Users, / 
Network/Users) rather than (/Users, /Network/Users, ).  It  
attempts to change the handling of keys in the config file with empty  
values, so that they are treated as if they were not specified at all.


Thanks!
-Tim



mac.patch
Description: Binary data


NSPathUtilities.m.patch
Description: Binary data


___
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev