Use empty string as filename for avoiding reading file.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22151 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2005-12-05 14:43:46 +00:00
parent eb26f5f43b
commit c3b817b927
2 changed files with 35 additions and 22 deletions

View file

@ -468,10 +468,9 @@ notice and this notice are preserved.
option of the <code>configure</code> script.<br />
If you want to <em>force</em> the internal defaults to be used,
you can use <code>--with-config-file=</code> to specify a path
whose last component is the filename
<code>.GNUstep.conf-ignore</code> as the base library
with a trailing '/' (ie with no filename) as the base library
will refrain from trying to load configuration from a file
of that name.<br />
of no name.<br />
System paths are defined by the following:
</p>
<deflist>
@ -508,7 +507,7 @@ notice and this notice are preserved.
<term>GNUSTEP_USER_CONFIG_FILE</term>
<desc>Name of user configuration file (eg. '.GNUstep.conf')
relative to the user's home directory.<br />
Can be specified as <code>.GNUstep.conf-ignore</code> to ensure
Can be specified as an empty string to ensure
that no user specific config file is loaded.
</desc>
<term>GNUSTEP_USER_DEFAULTS_DIR</term>
@ -626,10 +625,10 @@ notice and this notice are preserved.
distribution as a relocatable package, so it can be installed
anywhere, but users can't accidentally change the config file
and mess up paths, you can specify the config file name as
<code>.GNUstep.conf-ignore</code> so that the base library will
a path with a trailing slash so that the base library will
<em>not</em> read it, and will use the builtin default values.<br />
To do this, you would configure using the options
<code>--with-config-file=./.GNUstep.conf-ignore</code> and
<code>--with-config-file=./</code> and
<code>--with-default-file=myConfig</code> where <em>myConfig</em>
is a file containing the paths you want to use relative to the
location the base library gets installed in.<br />
@ -645,8 +644,7 @@ notice and this notice are preserved.
configuration file and may generally override values from the
main file. To prevent the use specific file from being read,
the system manager may define GNUSTEP_USER_CONFIG_FILE in the
main file to be <code>.GNUstep.conf-ignore</code> or to be
an empty string.<br />
main file to be an empty string.<br />
In any case, the user specific file is <em>not</em> read if a
program is running setuid.
</p>