Home | History | Annotate | Download | only in compat
History log of /src/tools/compat/setprogname.c
RevisionDateAuthorComments
 1.5  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4  27-Oct-2003  lukem branches: 1.4.30;
Overhaul how `build.sh tools' are used:

* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h

* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.

These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
 1.3  31-Jan-2002  tv Provide a default string so host tools that forget to call setprogname()
won't accidentally segfault just trying to print a usage message.
 1.2  10-Jan-2002  lukem - act more like lib/libc/gen/setprogname.c, and store the basename of
the argument to setprogname()
- knf
 1.1  11-Dec-2001  tv Add the framework for autoconf-based src/tools/compat structure. This will
(after it is more fleshed out) allow the host tools to work more cleanly
on non-NetBSD hosts.
 1.4.30.1  18-May-2008  yamt sync with head.

RSS XML Feed