Age | Commit message (Collapse) | Author |
|
and installing USD/SMM/PSD docs.
jmc@ agrees with the direction, ok millert@ on an earlier diff
|
|
indent_globs.h to indent.c, and (2) changing all the same decls in
indent_globs.h to be extern
ok mortimer
|
|
NetBSD renamed this file to support.c in 2001, while FreeBSD chose to
rename this file to util.c in 2009. We go the FreeBSD route and pick
util.c since our implementation is closer to the FreeBSD codebase.
Helps get us closer to being able to check out OpenBSD source code on
Windows as requested by John Carmack.
This issue thoroughly researched by jsg@
ok deraadt@, sthen@, "go ahead" jsg@
|
|
This became possible because copies of the original v1 manuals
have shown up on the Internet some time ago.
Reminded by Sevan Janiyan <venture37 at geeklan dot co dot uk>.
|
|
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.
|
|
This was a historical oddity that dates back to back to the days
of delivermail.
|
|
to user_from_uid(3) and uid_from_user(3). This requires sprinkling
const in a few places to match the return value of user_from_uid(3).
OK tb@
|
|
Delete a bunch of unnecessary #includes and sort to match style(9)
while doing the above cleanup.
ok deraadt@ krw@
|
|
|
|
IO-loop where ICANON is disabled and a single char of input is read at a time.
This requires the line editing capabilities provided when ICANON is enabled to
be implemented.
ok deraadt@
|
|
|
|
|
|
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
|
|
|
|
ok krw
|
|
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
|
|
|
|
|
|
|
|
ok jca@
|
|
* 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@
|
|
of stat()+utimes(). Prefer clock_gettime() over gettimeofday() to avoid
timeval->timespec conversion
ok millert@
|
|
|
|
to just be 0/1
ok miod florian
|
|
From Matthew Clarke
|
|
|
|
|
|
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.
|
|
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)
|
|
Also document that cd is an alias for chdir. From Kaspars Bankovskis.
|
|
|
|
legitiate use of this is to set the sender name which should be
handled specifically by a different option.
|
|
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
|
|
echo command for expansion which could result in arbitrary command
execution. CVE-2004-2771
|
|
|
|
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@
|
|
use with old netnews. OK sobrado@ tobias@
|
|
Prefer fopen("re") over fopen("r")+fcntl(F_SETFD)
ok otto@ millert@
|
|
on it, simplifying error checking, reducing system calls, and improving
thread-safety for libraries.
ok miod@
|
|
than distribution. These would modify files in /etc, part of the base
set, but still... that makes it harder to discern their sets placement.
|
|
Also, in 'ftp', always put the error message last, after the hostname/ipaddr.
ok jsing@ krw@ millert@
|
|
|
|
(namespace pollution!) or talking about its opinion on code.
ok krw@
|
|
|
|
|
|
with deraadt and millert, ok millert
|
|
this was also ok millert some time ago
|
|
|
|
ok otto
|
|
make the code easier to read.
no functional change.
OK millert@
|