c48a53ac99
processing of /etc/ld.so.conf in ld.so itself (rather than in /etc/rc): - added do_conf function and call to it in main to implement internal processing of /etc/ld.so.conf - moved maintenance of dir_list to dodir, with an added argument to dodir to specify whether dir_list should be updated - added option '-c' to suppress processing of /etc/ld.so.conf - added option '-S' to suppress processing of std directories (but not /etc/ld.so.conf) - modified option -s to suppress processing of _both_ std directories and /etc/ld.so.conf (i.e., it is equivalent to -cS)--this was done so that users and scripts that interpret -s as meaning "process only directories specified on the command line" would not be startled From PR #4031. One change was not committed, since it was unnecessary (option variables are in the BSS, and do not need to be initialized to 0 explicitly). Plus one change from me: - getopt() returns -1 when completed, not EOF. |
||
---|---|---|
.. | ||
ldconfig.8 | ||
ldconfig.c | ||
Makefile |