History log of /openbsd/usr.bin/vacation/vacation.c (Results 1 – 25 of 38)
Revision Date Author Comments
# 3aaa63eb 28-Jun-2019 deraadt <deraadt@openbsd.org>

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if

When system calls indicate an error they return -1, not some arbitrary
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.

show more ...


# cfff592f 20-Aug-2015 deraadt <deraadt@openbsd.org>

Do not cast result of malloc/calloc/realloc* if stdlib.h is in scope
ok krw millert


# f7055df5 15-Mar-2015 millert <millert@openbsd.org>

tzfile.h is an internal header that should never have been installed.
What's worse, the tzfile.h that gets installed is over 20 years old
and doesn't match the real tzfile.h in libc/time. This makes

tzfile.h is an internal header that should never have been installed.
What's worse, the tzfile.h that gets installed is over 20 years old
and doesn't match the real tzfile.h in libc/time. This makes the
tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE
define has been moved to time.h temporarily until its usage is
replaced by 1900 in the tree. Actual removal of tzfile.h is pending
a ports build. Based on a diff from deraadt@

show more ...


# b9fc9a72 16-Jan-2015 deraadt <deraadt@openbsd.org>

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N

Replace <sys/param.h> with <limits.h> and other less dirty headers where
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)

show more ...


# c289699d 26-Nov-2013 deraadt <deraadt@openbsd.org>

unsigned char casts for ctype
ok okan


# f81f6413 19-Apr-2013 okan <okan@openbsd.org>

match behavior of current sendmail-based vacation: eliminate the concept that
an interval (-r) of 0 indicates sending a reply to every message (per sender),
but rather match the 'non-numeric' case wh

match behavior of current sendmail-based vacation: eliminate the concept that
an interval (-r) of 0 indicates sending a reply to every message (per sender),
but rather match the 'non-numeric' case where only one reply will be sent (per
sender). default remains unchanged. vacation database should be reinitalized
sometime before 2038.

removes the need for time_t casts.

discussed with deraadt; ok millert

show more ...


# 043fbe51 27-Oct-2009 deraadt <deraadt@openbsd.org>

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(th

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
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

show more ...


# 116493d3 11-Oct-2009 sobrado <sobrado@openbsd.org>

makes source code fit on a 80-column display, no binary change.


# 4fd6ed32 11-Sep-2007 gilles <gilles@openbsd.org>

use strcspn to properly overwrite '\n' in fgets returned buffer

ok pyr@, ray@, millert@, moritz@, chl@


# 8b04781a 21-Mar-2007 tedu <tedu@openbsd.org>

remove extra *p tests, from charles longeau
ok deraadt millert


# a5f2675b 27-Feb-2007 deraadt <deraadt@openbsd.org>

support rfc2919 List-Id, from Tamas TEVESZ, ok millert


# a3477224 23-Feb-2007 millert <millert@openbsd.org>

Ignore trailing space after "Auto-Submitted: no"
Remove an unneeded check for !*p
OK deraadt@


# e7cae572 23-Feb-2007 deraadt <deraadt@openbsd.org>

add back in character count check by Tamas TEVESZ, though this does
not truly handle trailing whitespace on the line. but that is handled
very weakly for other patterns, too.


# 363ee7a4 23-Feb-2007 deraadt <deraadt@openbsd.org>

support for "Auto-Submitted: no" from Tamas TEVESZ; small tweak by millert,
ok millert (man page update being done by jmc)


# 6d9c4fd7 14-Aug-2006 millert <millert@openbsd.org>

Add Auto-Submitted header in generated mail as per RFC 3834.


# efb8a2f0 05-Apr-2004 deraadt <deraadt@openbsd.org>

cope with fdopen failure better


# b562e101 08-Mar-2004 deraadt <deraadt@openbsd.org>

knf. there are some scary XXX in here which need fixing


# 3970bbb7 09-Aug-2003 millert <millert@openbsd.org>

Fix off by one in strlcpy() check; Patrick Latifi


# 1837a5ca 10-Jun-2003 deraadt <deraadt@openbsd.org>

mostly ansi cleanup; pval ok


# f75387cb 03-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 334e018b 13-Mar-2003 deraadt <deraadt@openbsd.org>

lots of sprintf -> snprintf and strcpy -> strlcpy; checked by tedu


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.

show more ...


# abf92dec 07-Feb-2002 mpech <mpech@openbsd.org>

I want my vacation to be case nonsensitive in readheaders().

millert@ ok


# c0932ef1 19-Nov-2001 mpech <mpech@openbsd.org>

kill more registers

millert@ ok


# c96f6a27 09-Jul-2001 deraadt <deraadt@openbsd.org>

correct type on last arg to execl(); nordin@cse.ogi.edu


12