summaryrefslogtreecommitdiff
path: root/usr.bin/unifdef/unifdef.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-28mkstemp() returns -1 on failureTheo de Raadt
2019-06-27Some asprintf() calls were checked < 0, rather than the precise == -1.Theo de Raadt
2017-04-02Replace snprintf(NULL, malloc, snprintf.... with the much better asprintf.Theo de Raadt
2016-03-15Replace two malloc casts that deraadt@ and I removed over the past yearmmcc
2015-12-10Merge a lexer fix from upstream:mmcc
2015-12-10Capitalize a few error messages to reduce diff with upstream.mmcc
2015-12-04Document that the -M option doesn't save a backup when passed ''. Alsommcc
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-05tame "stdio rpath wpath cpath fattr", because this creates new files,Theo de Raadt
2015-10-05refactor, so we don't a C function in a .h file, yuck!Theo de Raadt
2015-10-03you can't edit stdin in place. check for this before the hack thatTed Unangst
2015-08-20Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopeTheo de Raadt
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-02-17Convert a strcpy() call to strlcpy(); ok millert@ sthen@Miod Vallat
2014-04-30tidy up SYNOPSIS, usage() and the options list; ok sthenJason McIntyre
2014-04-18Since we've been making heavy use of unifdef recently: update it to theStuart Henderson
2012-03-04In preparation for getline and getdelim additions to libc, rename getline()Federico G. Schwindt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-06-25kill "is is"; from Charles LongeauJason McIntyre
2007-04-02tidy up synopsis and usage(); sort options;Jason McIntyre
2003-06-30sync with freebsd:Anil Madhavapeddy
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-01-22more sync from freebsd; tedu@Stanford.EDUTheo de Raadt
2003-01-18merge; by tedu@Stanford.EDUTheo de Raadt
2002-12-02freebsd diffs; merged by tedu@Stanford.EDUTheo de Raadt
2002-10-04remove the BSS crudTheo de Raadt
2002-05-10In getlin(): match and handle EOF before checking isprint()Jason Wright
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
1998-11-16clean; adding // comment supportTheo de Raadt
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt