summaryrefslogtreecommitdiff
path: root/usr.bin/from/from.c
AgeCommit message (Expand)Author
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
2020-05-29At this point getpwuid(3) was already called therefore "getpw" promise can beRicardo Mestre
2018-08-08An early pledge takes away many risk factors during spool opening/parsing.Theo de Raadt
2017-05-31Use ferror() to check for getline() failure. From Scott Cheloha.Todd C. Miller
2015-11-05Add blank lines around pledge call.mmcc
2015-11-03Blank line after pledge call.mmcc
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07tame "stdio rpath getpw" before getpwuid and opening, then tame "stdio"Theo de Raadt
2015-06-03Treat a missing mail spool the same as a zero-length mail spoolTodd C. Miller
2015-06-03Move warning on open failure to open_mbox() where we have the file name.Todd C. Miller
2015-06-02Modernize from(1) a bit. Use getline() to support longer lines andTodd C. Miller
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2013-11-27remove erroneous char cast to switch expression processing getopt(3);Okan Demirmen
2013-11-26unsigned char casts for ctypeTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-02-20sort options and avoid line wrap; from Igor SobradoJason McIntyre
2006-03-14No need to declare optind/optarg if unistd.h is included.Moritz Jodeit
2005-11-14spacingTheo 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
2001-11-19kill more registersMike Pechkin
2001-07-12first pass at a -Wall cleanupTheo de Raadt
2000-01-18Use err, not errx when freopen() failes to get error string; form@openbsd.orgTodd C. Miller
1999-08-26fix a few more boflows; millert@ okAaron Campbell
1998-07-10err/warnMichael Shalayeff
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt