summaryrefslogtreecommitdiff
path: root/usr.bin/pr
AgeCommit message (Collapse)Author
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
ok miod@ millert@
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
jmc@ dislikes a comma before "then" in a conditional, so leave those untouched. ok jmc@
2020-12-13pr.1: note that -p is unsupportedJason McIntyre
pr.c: spelling fix from andras farkas
2020-01-22delete wasteful ;;Theo de Raadt
ok tedu
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo 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.
2017-12-23As we only use the .tv_sec field, simplify gettimeofday(2) -> time(3).cheloha
ok tb@ jca@
2017-11-02Kill bogus use of LC_TIMEJeremie Courreges-Anglas
Diff from Jan Stary, ok kettenis@
2015-11-11exit() after perror() for pledge failure. Perhaps this got introducedTheo de Raadt
as a test idiom, either when pledge was young or during the transition to strings.... dunno
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07tame "stdio rpath"Theo de Raadt
2015-08-20Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopeTheo de Raadt
ok krw millert
2015-02-08in getopt() blocks, stop incrementing flag variable which are supposedTheo de Raadt
to just be 0/1 ok miod florian
2015-01-19Make some $OpenBSD$ lines prettier/standardier by eliminatingKenneth R Westerback
superflous '*' after '/*' and adding blank after terminating '$'. Also eases parsing of the lines by simple awk scripts. Aesthetic approval from tedu@.
2014-06-04undo my "no TZ support" notes; guenther says they're wrongJason McIntyre
ok guenther
2014-04-18flesh out STANDARDS;Jason McIntyre
2014-04-18- merge two sections on error messages and interruptsJason McIntyre
- move some non-standard sections into a more general CAVEATS - some macro cleanup
2014-04-15- get the spacing right for -e, -i, -n, and -sJason McIntyre
- macro cleanup ok millert sobrado
2013-11-26unsigned char casts for ctypeTheo de Raadt
ok krw
2013-08-22Correct format string mismatches turned up by -Wformat=2Philip Guenther
suggestions and ok millert@
2013-04-18struct timezone is so 1980Theo de Raadt
2010-10-01more EXIT STATUS tweaks; from Daniel DickmanJason McIntyre
2010-09-29various EXIT STATUS fixes; from Daniel DickmanJason McIntyre
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2010-08-25fix potential use of uninitialized variable.Charles Longeau
reported by gcc. ok jasper@
2010-08-17several fixes from netbsd:Jasper Lievisse Adriaanse
Coverity CID 1660: Plug memory leaks. Coverity CID 2989: Use the error path to return. Coverity CID 3212: Don't return, goto out in all cases so that cleanup happens. ok otto@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo 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-08-16replace ".Ar file ..." with ".Ar" whenever possible.Igor Sobrado
ok jmc@
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2009-02-07malloc(n * m) -> calloc(n, m);Charles Longeau
ok ray@ moritz@
2008-04-18If memory allocation fails during error message buffering, print all holdTobias Stoeckmann
back messages and exit. ok millert
2007-09-03last commit broke the tree because of missing parentheses.Moritz Jodeit
ok henning@
2007-09-03sizeof char is 1; ok djmTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
- note which options are extensions to POSIX
2007-03-03- make synopsis and usage() match the order of the options listJason McIntyre
- kill a raft of unneeded .Bk/.Ek mostly from Igor Sobrado
2007-02-20Some cleanup including:Moritz Jodeit
- use sig_atomic_t signal handler flag - atoi() -> strtonum() conversion - remove vararg without matching fmt string - some more lint/gcc silencing ok millert@ ray@
2004-06-21dont compare int with NULL, compare to 0 instead, otto@ okAnil Madhavapeddy
2003-11-09Typos in comments from Jared Yanovich <jjy2+ at pitt dot edu>Otto Moerbeek
2003-08-04protosTheo de Raadt
2003-06-12de-register and ansification; millert okTheo de Raadt
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-01-15typos; jmc@prioris.mini.pw.edu.plTheo de Raadt
2002-04-30arguement -> argumentTheo de Raadt
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-29make sure that va_start() has matching va_end()Mike Pechkin
millert@ help&ok
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-11-19guess what! more signal race fixes...Theo de Raadt
2001-11-02use _exit() in signal handlerTheo de Raadt
2001-05-24Don't convert a single space before a tab stop into a tab when the -iPeter Valchev
option is passed, as stated in the manual page. From NetBSD PR 5797 fix. millert@ ok