Commit Graph

22 Commits

Author SHA1 Message Date
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
christos b89278a40d WARNS=3 2005-07-19 23:18:31 +00:00
lukem 171d653219 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).
2003-10-27 00:12:41 +00:00
itojun d5250e4ec9 safer use of realloc 2003-10-16 06:34:19 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
tv 9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
tv 5c99654526 Add hooks for cross-hosting on non-NetBSD platforms. 2002-01-21 19:22:53 +00:00
wiz 40ac848024 Fix various misspellings of compatible/compatibility. 2001-06-11 01:50:48 +00:00
cgd 040de26f85 call setprogname(argv[0]) at start of main() 2001-02-21 00:06:22 +00:00
ross f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
lukem 5dcc17b229 WARNSify, fix .Nm usage, getopt returns -1 not EOF, use ANSI <string.h> funcs 1997-10-20 01:09:53 +00:00
mycroft 4b28075484 Add a `-q' option, to be quiet about cycles. From der Mouse, PR 1204. 1996-01-17 20:37:49 +00:00
jtc 3614b0d5b7 Sync with 4.4lite2 1995-08-31 22:06:22 +00:00
jtc cbb8cacbb2 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-07 01:06:23 +00:00
cgd cdf91415a0 use err*() and warn() 1994-02-04 07:18:27 +00:00
cgd 30ac3de0e9 update with latest, from christos@deshaw.com 1994-02-04 07:02:09 +00:00
cgd fedc5faddb fix from Frank van der Linden <vdlinden@fwi.uva.nl> to DTRT when given a
filename on the command line.
1993-12-01 22:31:06 +00:00
cgd f788e05de2 from Jarle.F.Greipsland@idt.unit.no:
find_cycle was trying to find the longest cycle that a given node is part of,
which is a really, really hard problem (exponential?).  instead, just detect
cycles.  since the only difference is the (std error) output which is printed,
all works out OK.
1993-12-01 05:34:16 +00:00
cgd 13a05bbbac fix that last 1993-11-17 12:05:46 +00:00
cgd 9dbc9844f9 long lost fix from Christos Zoulas (?) for inf. loop problem 1993-11-17 12:01:04 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00