Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-08-20 | nasty whitespace | Theo de Raadt | |
2022-12-26 | spelling fixes; from paul tagliamonte | Jason McIntyre | |
amendments to his diff are noted on tech | |||
2022-03-31 | man pages: add missing commas between subordinate and main clauses | Christian Weisgerber | |
jmc@ dislikes a comma before "then" in a conditional, so leave those untouched. ok jmc@ | |||
2021-01-26 | satisfy -fno-common, by (1) copying all the variable decls from | Theo de Raadt | |
indent_globs.h to indent.c, and (2) changing all the same decls in indent_globs.h to be extern ok mortimer | |||
2019-06-28 | When system calls indicate an error they return -1, not some arbitrary | Theo de Raadt | |
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | |||
2016-06-06 | it's typedef, not typdef. | Tobias Ulmer | |
typo found by Piotr Stefaniak | |||
2015-11-11 | creat() -> open equiv; from Frederic Nowak | Theo de Raadt | |
2015-10-09 | Change all tame callers to namechange to pledge(2). | Theo de Raadt | |
2015-10-05 | tame "stdio rpath wpath cpath", because this program reads and creates | Theo de Raadt | |
files, using stdio. It does nothing else. | |||
2015-09-27 | Mark diag() as printf-like | Philip Guenther | |
ok millert@ | |||
2015-08-20 | Do not cast result of malloc/calloc/realloc* if stdlib.h is in scope | Theo de Raadt | |
ok krw millert | |||
2015-01-22 | Recognise 'F'/'f' constant suffix for single precision floating point. | Jonathan Gray | |
Prevents indent from inserting a space which broke the build of the development version of Mesa. ok millert@ deraadt@ | |||
2015-01-19 | Make some $OpenBSD$ lines prettier/standardier by eliminating | Kenneth R Westerback | |
superflous '*' after '/*' and adding blank after terminating '$'. Also eases parsing of the lines by simple awk scripts. Aesthetic approval from tedu@. | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-10-11 | Userland reallocarray() audit. | Doug Hogan | |
Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication. ok deraadt@ | |||
2014-07-20 | Make sure the correct errno is reported by warn* or err* and not | Philip Guenther | |
the errno of an intervening cleanup operation like close/unlink/etc. Diff from Doug Hogan (doug (at) acyclic.org) | |||
2014-05-20 | Use errc/warnc to simplify code. | Philip Guenther | |
Also, in 'ftp', always put the error message last, after the hostname/ipaddr. ok jsing@ krw@ millert@ | |||
2013-11-26 | unsigned char casts for ctype | Theo de Raadt | |
ok krw | |||
2013-06-24 | tweak previous; | Jason McIntyre | |
2013-06-21 | Default to stdin/stdout if no input files are | Jonathan Gray | |
given to indent. Based on FreeBSD svn rev 40502. ok kettenis@ millert@ lteo@ | |||
2013-06-20 | add ut/nut flags to indent to enable/disable tabs. | Jonathan Gray | |
based on FreeBSD svn rev 131184. ok deraadt@ | |||
2013-01-17 | remove uesless Pp; | Jason McIntyre | |
2010-10-19 | no more vgrind(1); ok deraadt | Jason McIntyre | |
2010-07-15 | More delimiters that need quoting inside macros, hunted down by jmc@, | Ingo Schwarze | |
who asked me to commit because he is just running out of the door. | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-05-29 | "input-file" is a required argument; while here, remove a few superfluous | Igor Sobrado | |
spaces around the brackets and synchronize the argument names. ok jmc@ | |||
2007-11-27 | typos; ok jmc@ | Martynas Venckus | |
sys/dev/pci/pciide.c from naddy@ | |||
2007-09-02 | use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg | Theo de Raadt | |
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2005-05-15 | When checking for comment characters using negative pointer arithmetic | Todd C. Miller | |
make sure that we don't peek at memory outside the string boundaries. Fixes a core dump with mmap malloc. | |||
2005-03-06 | Fix realloc bug introduce in rev 1.10 and do some minor cleanup. | Todd C. Miller | |
OK henning@ and tdeval@ | |||
2005-02-04 | clearer wording; | Jason McIntyre | |
based on a diff from freebsd -r1.22; | |||
2004-11-29 | Spell precede correctly. | Jonathan Gray | |
'looks fine' millert@, krw@. ok jmc@ | |||
2004-07-20 | ansi; khalek@linuxgamers.net | Theo de Raadt | |
2003-11-28 | - some fixes from PR 1446 | Jason 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-26 | better realloc. ok deraadt@ henning@ | Ted Unangst | |
2003-06-26 | minimal protos | Theo de Raadt | |
2003-06-25 | delete junk proto | Theo de Raadt | |
2003-06-12 | de-register and ansification; millert ok | Theo de Raadt | |
2003-06-12 | final bits of obvious UCB term 3 removal | Theo de Raadt | |
2003-06-11 | de-register | Theo de Raadt | |
2003-06-10 | - section reorder | Jason McIntyre | |
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@ | |||
2003-06-03 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-04-25 | sprintf -> snprintf and add a couple of size checks to ensure against | Kenneth R Westerback | |
overflow. ok tdeval@ deraadt@ dhartmei@ | |||
2003-04-01 | snprintf | Theo de Raadt | |
2002-11-29 | inconsistant spelling; torh@bogus.net | Theo de Raadt | |
2002-10-07 | misplaced break in the last | Michael Shalayeff | |
2002-10-04 | some 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-04 | fprintf+exit vs errx | Michael Shalayeff | |
2002-03-16 | better error message when we find unmatched braces. (i.e. "braces" is more | Vincent Labrecque | |
precise than "stuff") |