summaryrefslogtreecommitdiff
path: root/libexec/mail.local/mail.local.c
AgeCommit message (Expand)Author
2023-06-05use getline(3) instead of fgetln(3)Omar Polo
2023-05-15cast to '(long long)' instead of '(long long int)'Omar Polo
2023-05-10cast off_t to long long int for printingOmar Polo
2020-02-09Use sysexits.h exit values to distinguish between tempfail and permfail.Todd C. Miller
2020-02-07Remove backward compatibility for obsolete -H flag.Todd C. Miller
2020-02-02Allow mail.local to be run as non-root.Todd C. Miller
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2015-12-12Remove NULL-checks before free(). ok tb@mmcc
2015-07-06Add support for IPv6 by using getaddrinfo(). Our inetd.conf shipsTodd C. Miller
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2008-05-26sort flags on both the synopsis and usage.Igor Sobrado
2006-05-13delete case for ?; cdp_xe@gmx.netTheo de Raadt
2006-04-01minor lint cleaning; ok millertTheo de Raadt
2006-01-02#include <sys/signal.h> not neededTodd C. Miller
2005-05-29Fix case where input file lacks newline before EOF; Andrey MatveevTodd C. Miller
2004-08-08spacingTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-07-03KNFTheo de Raadt
2002-06-02minor KNFTheo de Raadt
2001-08-18err() -> merr(), and reorder some bugs noted by giannici@neomedia.it; millert...Theo de Raadt
2001-07-09correct type on last arg to execl(); nordin@cse.ogi.eduTheo de Raadt
2000-04-21Use fgetln(3) instead of fgets(3) when reading in the message. ThisTodd C. Miller
1998-08-15Break out locking code into its own file so it can be shared with lockspool.Todd C. Miller
1998-05-18readlink(path, buf, sizeof buf-1). Never forget that -1.Theo de Raadt
1997-08-13a little extra paranoiadm
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-04-04when mktemp() is hard to fix, use 10 XTheo de Raadt
1997-03-29Make ``mail.local -H'' explicately indicate when the lock fails or succeeds.Todd C. Miller
1997-03-28"mail.local -H" is valid usage.Todd C. Miller
1997-02-12fix option argument parsing, nirva@ishiboo.comTheo de Raadt
1997-01-17r?index -> strr?chrTodd C. Miller
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-12-24comment on why this mktemp use is safeTheo de Raadt
1996-10-16check malloc ret valTodd C. Miller
1996-08-30use S_IWOTHTheo de Raadt
1996-08-29first cut at -H; to be used mailers to grab locks in 755 spool direectoriesTheo de Raadt
1996-08-29buf oflows, deal with 1777 spool, general DOS attack protection; help from da...Theo de Raadt
1996-08-27Fix race condition.dm
1996-08-27Use lockfiles by default, rather than fcntl.dm
1996-07-19race thee no more; fix from travis@evtech.com with some additional stuff from meTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt