patchGNUstep - Patches: patch #4571, GSConfig file override function

Group
 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #4571: GSConfig file override function

Submitter:  None
Submitted:  Fri 28 Oct 2005 07:10:54 PM UTC
   
 
Category:  Foundation Priority:  5 - Normal
Status:  Wont Do Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed

Tue 06 Dec 2005 08:38:32 AM UTC, comment #2: 

On further consideration ... I think  the idea is not needed at all.

It should be possible to use the existing options at configuration time to build a version of the base library which does not load in a config file (eg. using --with-config-file=./) and which has the builtin location of the defaults database set to be a registry key (using --with-default-config=).

This hasn't been extensively tested ... so it may have bugs at present ... but if so, let's fix those bugs rather than adding new features we don't need.

Richard Frith-Macdonald <CaS>
Group Member
Tue 22 Nov 2005 06:55:57 PM UTC, comment #1: 

The current code is sufficiently different that thius patch doesn't make much sense ... but the GNUstepConfig() function in the current CVS code is similar in terms of what it can do.

Perhaps splitting GNUstepConfig() into two parts (for thea global and user specific
configurations) and making the global one public would do what you want?

Richard Frith-Macdonald <CaS>
Group Member
Fri 28 Oct 2005 07:10:54 PM UTC, original submission:  

I added a setGNUstepConfig function to allow a program to override the GNUstep.conf file.

This is very helpful for standalone programs (like mine) that might install GNUstep into a weird path, or need to lock down users to specific settings.

Specifically I wanted to force GNUSTEP_USER_DEFAULTS_DIR to a specific registry key.

Also this fixes a bug in that same code that changed \ to / in GNUSTEP_USER_DEFAULTS_DIR. (Which broke the registry based defaults)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #7492:  gsconfig-backdoor.patch.txt added by None (2KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-12-06 CaS Open/ClosedOpen Closed
2005-11-22 CaS StatusNone Wont Do
2005-10-28 jeremybettis Carbon-Copy- Added jeremybettis
2005-10-28 None Attached File- Added gsconfig-backdoor.patch.txt, #5389

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code