gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mac FilesystemLayout is broken (patch)


From: Tim McIntosh
Subject: mac FilesystemLayout is broken (patch)
Date: Fri, 30 Mar 2007 00:24:03 -0500

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

Attachment: mac.patch
Description: Binary data

Attachment: NSPathUtilities.m.patch
Description: Binary data



reply via email to

[Prev in Thread] Current Thread [Next in Thread]