Home | History | Annotate | Download | only in ldconfig
History log of /src/sbin/ldconfig/ldconfig.c
RevisionDateAuthorComments
 1.48  04-Jan-2011  wiz Fix file descriptor leak. Found by cppcheck.
 1.47  13-May-2010  tnozaki cast isblank(3)'s argument to unsigned char.
 1.46  16-Aug-2009  martin Add <sys/exec_aout.h> includes
 1.45  17-Mar-2009  lukem fix sign-compare issues
 1.44  28-Apr-2008  martin branches: 1.44.6;
Remove clause 3 and 4 from TNF licenses
 1.43  26-Mar-2006  christos branches: 1.43.20; 1.43.22;
Coverity CID 2766: Don't leak memory.
 1.42  21-Mar-2006  christos Coverity CID 1601: Fix memory leak.
 1.41  21-Mar-2006  christos Coverity CID 1603: Fix memory leak.
 1.40  02-Jun-2005  lukem appease gcc -Wuninitialized
 1.39  05-Feb-2005  xtraeme Kill __P(), use ANSI function declarations.
 1.38  28-Oct-2004  dsl Add (unsigned char) cast to isdigit call
 1.37  05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.36  23-Jun-2003  agc Add NetBSD RCS Ids.
 1.35  05-Jan-2003  kristerw Correct length of a memcpy.
From Alan Barrett in PR 18620.
 1.34  01-Nov-2001  lukem fix a couple of -Wshadow warnings
 1.33  19-Feb-2001  cgd convert to use getprogname()
 1.32  10-Nov-2000  enami Cosmetic change; actually split a line which looks like as if two lines.
 1.31  29-Sep-2000  fvdl Build this on ELF as well. When on an ELF system, only look in
_PATH_EMUL_AOUT/etc/ld.so.conf.
 1.30  01-Jun-2000  matt branches: 1.30.2;
make ldconfig.c not always fail.
 1.29  27-May-2000  matt Add some code to test libraries to make sure they are a.out before adding
them to hints.
 1.28  27-May-2000  matt branches: 1.28.2;
Changes to put the COMPAT_AOUT code into ld.aout_so. Search <dir> for <lib>
then search /emul/aout/<dir> for <lib>. To make sure we don't get false
postives on ELF libraries we make the .so is a ZMAGIC dynamic library.
 1.27  16-Jul-1999  christos - don't core-dump if hints file is too short
- unmap the space and close fd's
- bcopy -> memcpy
- stat the file to get the size to map, instead of doing multiple mmaps.
 1.26  17-Jun-1999  thorpej MAP_COPY -> MAP_PRIVATE
 1.25  09-Apr-1999  agc Plug a file descriptor leak.
 1.24  08-Apr-1999  drochner !silent -> verbose, to make it compile again (there is no "silent")
 1.23  08-Apr-1999  agc If there is no /etc/ld.so.conf, it is not a fatal error. Correct the return
value from the function so that the exit value to the shell is correct.
 1.22  15-Dec-1998  pk branches: 1.22.2;
Adapt to new location in `src/sbin'.
 1.21  15-Dec-1998  pk Pull in proper headers; deal with compiler warnings; miscelleneous KNF.
 1.20  05-Sep-1998  pk Assign my copyrights to TNF.
 1.19  20-Feb-1998  mycroft Fill in missing (default) mmap(2) flags.
 1.18  26-Aug-1997  thorpej 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.
 1.17  16-Apr-1997  christos mktemp() -> mkstemp()
 1.16  03-Jan-1997  mikel eliminate valueless return from main(); PR bin/3073.
 1.15  03-Jul-1996  thorpej RCS id police.
 1.14  30-Jun-1996  jtc Add '-m' to usage string; Fixes PR #2580
 1.13  09-Jan-1996  pk Create v.2 hint files.
Note: don't bother to understand v.1 files..
 1.12  25-Aug-1995  pk branches: 1.12.2;
Just use umask(0);
Use mktemp() for temporary file creation.
 1.11  25-Aug-1995  pk Ensure the hints file is readable.
 1.10  05-Aug-1995  pk Parse library names better; takes care of PR#1291
 1.9  20-Jun-1995  pk Add a `merge' option.
Use err() & warn().
 1.8  16-Jun-1994  pk Update man page.
Use `__progname'.
 1.7  10-Jun-1994  pk Conversion to err()/warn() for error reports.
 1.6  28-Mar-1994  cgd no more MAP_FILE
 1.5  29-Jan-1994  jtc Fix spelling error in Copyright notice
 1.4  28-Jan-1994  pk Remove reference to `mywrite()'.
 1.3  13-Jan-1994  pk Don't barf if builtin directories happen to be non-existent.
 1.2  08-Dec-1993  pk *** empty log message ***
 1.1  23-Oct-1993  pk Utility to maintain shared library lookup "hints".
Does business in `/var/run/ld.so.hints'.
 1.12.2.1  16-Feb-1996  pk Pick up fixes from -current for patch2.
 1.22.2.3  27-Jun-2000  he Pull up revision 1.30 (requested by matt):
Do not treat non-existance of directories under /emul/aout as
errors.
 1.22.2.2  01-Jun-2000  he Pull up revisions 1.28-1.29 (requested by matt):
Enable searching for libraries under /emul/aout, and make sure
that ELF libraries are not erroneously accepted.
 1.22.2.1  20-Oct-1999  he Pull up revisions 1.23-1.25 (requested by agc):
Do not handle a missing /etc/ld.so.conf as a fatal error,
and plug a file descriptor leak.
 1.28.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.30.2.1  18-Oct-2000  tv Pullup 1.31 [fvdl]:
Build this on ELF as well. When on an ELF system, only look in
_PATH_EMUL_AOUT/etc/ld.so.conf.
 1.43.22.1  18-May-2008  yamt sync with head.
 1.43.20.1  02-Jun-2008  mjf Sync with HEAD.
 1.44.6.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed