summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/util.c
Commit message (Collapse)AuthorAgeFilesLines
* Move utilitarian routines to util.c, which isn't the same as the oldjmallett2002-10-101-0/+285
| | | | | | compatability-geared util.c. These are things like message printers and the PrintAddr function for traversing lists. Other general-purpose utilities inside make(1) can go here, in time.
* o unifdef -D__STDC__imp2002-03-231-344/+0
| | | | | o remove badly bit-rotted compat file that likely won't work on the systems it purports to support.
* Fix style(9) bug; use ISDOT[DOT,]() macro available in util.c by movingwill2001-01-211-3/+0
| | | | | | | it to make.h so both dir.c and util.c can use it, although bde didn't particularly like this part of the idea, IMO it's cleaner than it was. Submitted by: bde
* Format string paranoia. This should avoid potential buffer overflows fromwill2000-11-301-3/+3
| | | | | | user input (in its ever-broadening definition). Obtained from: NetBSD
* Use __RCSID()wsanchez2000-07-091-4/+5
|
* Use __RCSID()wsanchez2000-07-091-4/+4
|
* #include <errno.h> where needed. Kill extern int errno;.imp2000-04-141-4/+1
| | | | Minor warnings in tip corrected.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* O' to be bitten by CVS. Cleanup after importsteve1996-10-081-1/+1
| | | | | | of Christos' version of make(1) and add Id's. Set straight by: Bruce Evans and Peter Wemm :)
* Merge in NetBSD's changes to make(1). Changes include:steve1996-10-061-0/+349
- Add the .PHONY, .PARALLEL, and .WAIT directives - Added the -B and -m commandline flags - misc. man page cleanups - numerous job-related enhancements - removed unused header file (bit.h) - add util.c for functions not found in other envs. - and a few coordinated whitespace changes Special thanks to Christos Zoulas <christos@netbsd.org> for help in the merge. A 'diff -ur' between Net and FreeBSD now only contains sccsid-related diffs. :) Obtained from: NetBSD, christos@netbsd.org, and me
OpenPOWER on IntegriCloud