Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-28 | Prevent edit'ing a message from corrupting the mailbox. In an mbox file | Martin Natano | |
every message is terminated by an empty line, so we have to make sure it is preserved. Otherwise the message is combined with the next one. joint effort with deraadt and millert | |||
2016-07-28 | these programs probably do not need to use TMPDIR. ok florian | Ted Unangst | |
2016-07-19 | Cleanup close(open idioms. | Theo de Raadt | |
ok krw | |||
2016-03-30 | for some time now mandoc has not required MLINKS to function | Jason McIntyre | |
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung | |||
2015-11-24 | missing pledge "getpw" | Theo de Raadt | |
2015-11-16 | pledge "stdio rpath wpath cpath tmppath fattr tty flock proc exec" | Theo de Raadt | |
2015-11-11 | creat() -> open equiv; from Frederic Nowak | Theo de Raadt | |
2015-10-16 | Cast isspace() argument to unsigned char. | mmcc | |
ok jca@ | |||
2015-10-16 | Modernize allocation by: | mmcc | |
* removing unneeded casts of void* return values * replacing varied and creative error messages with the allocation function's name * replacing errx() with err() so that the errno string is reported ok beck@, jung@, millert@ | |||
2015-10-13 | To alter just the atime of the mailspool, use utimensat()+UTIME_OMIT instead | Philip Guenther | |
of stat()+utimes(). Prefer clock_gettime() over gettimeofday() to avoid timeval->timespec conversion ok millert@ | |||
2015-09-07 | add missing file system path (.Pa) macros. | Igor Sobrado | |
2015-02-08 | in getopt() blocks, stop incrementing flag variable which are supposed | Theo de Raadt | |
to just be 0/1 ok miod florian | |||
2015-01-24 | Fix getopt string; the -N flag doesn't take an argument. | Todd C. Miller | |
From Matthew Clarke | |||
2015-01-22 | Only allow the -r flag when sending a message; from Martin Brandenburg | Todd C. Miller | |
2015-01-20 | tweak previous; | Jason McIntyre | |
2015-01-20 | Add support for the "-r fromaddr" flag now that we don't support | Todd C. Miller | |
sendmail flags on the command line. Also allow "from" to be set in mailrc. Use sendmail's "-t" flag when executing sendmail instead of specifying the list of recipients in argv. The "-f" flag will be used to set the from address if specified. | |||
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) | |||
2015-01-07 | It is the copy command that is abbreviated as 'c', not chdir. | Todd C. Miller | |
Also document that cd is an alias for chdir. From Kaspars Bankovskis. | |||
2015-01-07 | Document the '=' command; from trondd at gmail | Todd C. Miller | |
2014-12-16 | Don't pass options after the to address to sendmail. The only | Todd C. Miller | |
legitiate use of this is to set the sender name which should be handled specifically by a different option. | |||
2014-12-16 | Add new "expandaddr" flag (disabled by default) to enable recipient | Todd C. Miller | |
address expansion and document it. Previously, this behavior was always enabled. Also document how address expansion is performed, which used to only be described in the (no longer installed) Mail Reference Manual. CVE-2014-7844 | |||
2014-12-16 | Use glob() to expand filenames instead of passing it to the shell's | Todd C. Miller | |
echo command for expansion which could result in arbitrary command execution. CVE-2004-2771 | |||
2014-11-24 | Change "will write" back to "writes" in -f description. From jmc@ | Todd C. Miller | |
2014-11-24 | The handling of the -f option is a hack. Instead of fooling around | Todd C. Miller | |
with argv behind getopt()'s back we can just treat the remainder of argv[] after option processing as the file name for -f. It is not possible to use -f in sending mode so there is no ambiguity. OK tobias@ | |||
2014-11-24 | Remove undocumented and obsolete -T option. It was intended for | Todd C. Miller | |
use with old netnews. OK sobrado@ tobias@ | |||
2014-10-26 | Prefer mkostemp(O_CLOEXEC) over mkstemp()+fcntl(F_SETFD) | Philip Guenther | |
Prefer fopen("re") over fopen("r")+fcntl(F_SETFD) ok otto@ millert@ | |||
2014-08-15 | Use O_CLOEXEC wherever we open a file and then call fcntl(F_SETFD, FD_CLOEXEC) | Philip Guenther | |
on it, simplifying error checking, reducing system calls, and improving thread-safety for libraries. ok miod@ | |||
2014-07-22 | Repair two deep targets mistakenly called as afterinstall, rather | Theo de Raadt | |
than distribution. These would modify files in /etc, part of the base set, but still... that makes it harder to discern their sets placement. | |||
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@ | |||
2014-03-27 | make this page less sendmail-centric; ok gilles | Jason McIntyre | |
2014-03-16 | lint is dead (long live the lint!), so stop using it as a cpp conditional | Philip Guenther | |
(namespace pollution!) or talking about its opinion on code. ok krw@ | |||
2014-03-10 | pedantic word change; | Jason McIntyre | |
2014-01-20 | Obvious .Xr fixes, found while testing mandocdb(8). | Ingo Schwarze | |
2014-01-17 | ctype and other sign extension fixes. | Okan Demirmen | |
with deraadt and millert, ok millert | |||
2014-01-08 | flesh out STANDARDS somewhat; help/ok sobrado | Jason McIntyre | |
this was also ok millert some time ago | |||
2013-07-18 | document the :c selectors; from Sunil Nimmagadda | Jason McIntyre | |
2013-04-29 | use FD_CLOEXEC instead of 1; from David Hill | Okan Demirmen | |
ok otto | |||
2012-11-14 | use F_OK macro instead of 0 in access() when checking by file existence. ↵ | Gleydson Soares | |
make the code easier to read. no functional change. OK millert@ | |||
2011-04-06 | Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0' | Miod Vallat | |
for chars. | |||
2010-11-07 | more EXIT STATUS bits; from Daniel Dickman | Jason McIntyre | |
2010-01-10 | remove references to docs we no longer install; | Jason McIntyre | |
2010-01-04 | Stop installing many of the incredibly dated and un-authoritative share/doc | Theo de Raadt | |
files. If any information found in these documents is worthwhile and you miss it, please make the time to work it into the manual pages (which people actually do read). ok guenther | |||
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-09-05 | Fixed typo in comment. | Tobias Stoeckmann | |
ok millert | |||
2009-07-29 | - ~<, ~_ are undocumented aliases of ~r, ~: | Martynas Venckus | |
- missing documentation for ~. - use compact list, and .Pp. so that aliases could be listed - reformat to fit aliases in tilde help with help & ok jmc@, sobrado@, millert@ | |||
2009-07-28 | remove core / tilde C. it's useless, doesn't work, never has been | Martynas Venckus | |
documented, ^\ should be used instead. ok millert@ | |||
2009-07-23 | elide a little bit later, the final list, after From has been | Martynas Venckus | |
appended. properly removes if there's a dup in from & to. ok millert@ | |||
2009-04-23 | document the "more" command in the help page; ok millert | Theo de Raadt | |
2009-02-10 | mark these utilities as being largely posix compliant or, in the case of | Jason McIntyre | |
nm, as not being posix compliant; | |||
2008-11-03 | ...and then sync tildehelp and mail9.nr; | Jason McIntyre | |