summaryrefslogtreecommitdiff
path: root/usr.bin/indent/indent.c
AgeCommit message (Expand)Author
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2015-11-11creat() -> open equiv; from Frederic NowakTheo de Raadt
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-05tame "stdio rpath wpath cpath", because this program reads and createsTheo de Raadt
2015-08-20Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopeTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-07-20Make sure the correct errno is reported by warn* or err* and notPhilip Guenther
2014-05-20Use errc/warnc to simplify code.Philip Guenther
2013-11-26unsigned char casts for ctypeTheo de Raadt
2013-06-21Default to stdin/stdout if no input files areJonathan Gray
2013-06-20add ut/nut flags to indent to enable/disable tabs.Jonathan Gray
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-05-29"input-file" is a required argument; while here, remove a few superfluousIgor Sobrado
2004-11-29Spell precede correctly.Jonathan Gray
2003-06-26minimal protosTheo de Raadt
2003-06-12de-register and ansification; millert okTheo de Raadt
2003-06-12final bits of obvious UCB term 3 removalTheo de Raadt
2003-04-25sprintf -> snprintf and add a couple of size checks to ensure againstKenneth R Westerback
2002-11-29inconsistant spelling; torh@bogus.netTheo de Raadt
2002-03-16 better error message when we find unmatched braces. (i.e. "braces" is moreVincent Labrecque
2001-11-19kill more registersMike Pechkin
2001-06-25errx -> err if ENOMEMPaul Janzen
2001-01-08Fix various warnings, merge lite-2, and tidy a bit; also, cast somePaul Janzen
2000-07-25Fix indent endless on garbage input.Marc Espie
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
1999-05-19Use fprintf/exit in place of errx for usage display.Alex Feldman
1997-09-10remove \n in errx/err callsTheo de Raadt
1997-07-25use err(3), some -WallMichael Shalayeff
1996-06-26rcsidTheo de Raadt
1996-05-21errno.h provides what we needTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt