summaryrefslogtreecommitdiff
path: root/usr.bin/indent
AgeCommit message (Collapse)Author
2007-11-27typos; ok jmc@Martynas Venckus
sys/dev/pci/pciide.c from naddy@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2005-05-15When checking for comment characters using negative pointer arithmeticTodd C. Miller
make sure that we don't peek at memory outside the string boundaries. Fixes a core dump with mmap malloc.
2005-03-06Fix realloc bug introduce in rev 1.10 and do some minor cleanup.Todd C. Miller
OK henning@ and tdeval@
2005-02-04clearer wording;Jason McIntyre
based on a diff from freebsd -r1.22;
2004-11-29Spell precede correctly.Jonathan Gray
'looks fine' millert@, krw@. ok jmc@
2004-07-20ansi; khalek@linuxgamers.netTheo de Raadt
2003-11-28- some fixes from PR 1446Jason McIntyre
- much simpler groff macros - sync SYNOPSIS with reality - document which options are broken (-bap, -ip, -ln, -sob) - remove groff macros - document defaults - document -lcn Together with pjanzen's fixes (rev. 1.10), fixes PR 1446
2003-09-26better realloc. ok deraadt@ henning@Ted Unangst
2003-06-26minimal protosTheo de Raadt
2003-06-25delete junk protoTheo 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-06-11de-registerTheo de Raadt
2003-06-10- section reorderJason McIntyre
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-25sprintf -> snprintf and add a couple of size checks to ensure againstKenneth R Westerback
overflow. ok tdeval@ deraadt@ dhartmei@
2003-04-01snprintfTheo de Raadt
2002-11-29inconsistant spelling; torh@bogus.netTheo de Raadt
2002-10-07misplaced break in the lastMichael Shalayeff
2002-10-04some formatting from mickey.Michael Shalayeff
From: Maxim Tsyplakov <tm@openbsd.ru> indent -i0 somefile.c dumps core in indent.c line 276 ps.ind_level = ps.i_l_follow = col / ps.ind_size;
2002-10-04fprintf+exit vs errxMichael Shalayeff
2002-03-16 better error message when we find unmatched braces. (i.e. "braces" is moreVincent Labrecque
precise than "stuff")
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-06-25errx -> err if ENOMEMPaul Janzen
2001-05-01Remove completely redundant introductory sentences in ENVIRONMENT sections.Aaron Campbell
2001-01-08Fix various warnings, merge lite-2, and tidy a bit; also, cast somePaul Janzen
pointer arithmetic to int where needed. Mostly from NetBSD. Fix some buffer overflows pointed out in PR 1446 by gluk@ptci.ru, and check some {m,re}allocs.
2000-08-02$HOME paranoia: never use getenv("HOME") w/o checking for NULL and non-zeroTodd C. Miller
2000-07-25Fix indent endless on garbage input.Marc Espie
Found by deraadt@
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-03-23More pedantic man page formatting insanity, lalalaAaron Campbell
2000-03-08Various cleanups and improvements.Aaron Campbell
1999-09-14typesTheo de Raadt
1999-07-04correct use of .Nm; some other formatting nitsAaron Campbell
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1999-05-19Use fprintf/exit in place of errx for usage display.Alex Feldman
1998-09-26usr.bin/ man page fixes, f-m.Aaron Campbell
1998-05-22support U, and LL suffixes; rnordierTheo de Raadt
1997-09-10remove my debug code, grrrrrTheo de Raadt
1997-09-10make 'special' array completely dynamic. hence you can now use as many -TTheo de Raadt
flags as you want; problem found in netbsd by agc but it isn't really a fix to crank 100 to 1000, you know. I make it dynamic instead.
1997-09-10remove \n in errx/err callsTheo de Raadt
1997-07-25use err(3), some -WallMichael Shalayeff
1997-06-23fix "stuff"; problems from uenami@imasy.or.jpTheo de Raadt
1997-06-09-i8 is default; ada@not-enough.bandwidth.orgTheo de Raadt
1996-10-28Safe $HOME usage.Todd C. Miller
1996-06-26rcsidTheo de Raadt
1996-05-21errno.h provides what we needTheo de Raadt