Commit Graph

18 Commits

Author SHA1 Message Date
thorpej c48a53ac99 Enhancements from Jim Bernard <jbernard@tater.mines.edu>, to support
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.
1997-08-26 19:29:57 +00:00
christos b4f53dbf7c mktemp() -> mkstemp() 1997-04-16 16:46:28 +00:00
mikel dd40c6d884 eliminate valueless return from main(); PR bin/3073. 1997-01-03 07:10:52 +00:00
thorpej 648aed921f RCS id police. 1996-07-03 03:28:09 +00:00
jtc e6f7d4e4c5 Add '-m' to usage string; Fixes PR #2580 1996-06-30 22:30:32 +00:00
pk d6193ea4d4 Create v.2 hint files.
Note: don't bother to understand v.1 files..
1996-01-09 00:04:35 +00:00
pk c94617858b Just use umask(0);
Use mktemp() for temporary file creation.
1995-08-25 11:35:35 +00:00
pk 4edc2f666b Ensure the hints file is readable. 1995-08-25 10:10:15 +00:00
pk 8920da128d Parse library names better; takes care of PR#1291 1995-08-05 00:16:36 +00:00
pk d8f640e15a Add a `merge' option.
Use err() & warn().
1995-06-20 23:12:33 +00:00
pk d64d286b35 Update man page.
Use `__progname'.
1994-06-16 13:38:27 +00:00
pk a43fd7b3a2 Conversion to err()/warn() for error reports. 1994-06-10 15:16:32 +00:00
cgd 95d6a185be no more MAP_FILE 1994-03-28 02:07:04 +00:00
jtc fc1d8f3bac Fix spelling error in Copyright notice 1994-01-29 01:54:01 +00:00
pk 64075b6a06 Remove reference to `mywrite()'. 1994-01-28 20:53:25 +00:00
pk 14c0d3cb5e Don't barf if builtin directories happen to be non-existent. 1994-01-13 19:35:38 +00:00
pk efa4a5a7aa *** empty log message *** 1993-12-08 10:16:08 +00:00
pk bfca4dbe69 Utility to maintain shared library lookup "hints".
Does business in `/var/run/ld.so.hints'.
1993-10-23 00:16:57 +00:00