Home | History | Annotate | Download | only in vacation
History log of /src/usr.bin/vacation/vacation.c
RevisionDateAuthorComments
 1.38  11-Apr-2023  hauke Make vacation(1) check 'Auto-Submitted:' (RFC 3834) in addition to
'Precedence:' (RFC 2076), and set 'Precedence:' in addition to
'Auto-Submitted:'.

Update the man page accordingly.
 1.37  05-May-2019  pgoyette branches: 1.37.2; 1.37.10;
Also fix the error message when -T is used with something other than A or D
 1.36  21-Jul-2008  lukem branches: 1.36.60;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.35  15-Dec-2007  perry branches: 1.35.6;
convert __attribute__s to applicable cdefs.h macros
 1.34  13-Jul-2007  christos branches: 1.34.4;
PR/36644: Edgar Fuss: vacation does not work if homedir not present
Don't care about it failing if all paths needed are absolute.
 1.33  13-Jul-2007  christos PR/36643: Edgar Fu: -m missing from getopt.
While there:
- mark usage noreturn
- remove prototype for main
 1.32  15-Aug-2006  christos branches: 1.32.2; 1.32.4;
Add Auto-Submitted: header per RFC 3834, from OpenBSD
 1.31  27-Jul-2006  christos PR/34095: Brian Buhrow: Vacation(1) core dumps when there is a Subject:
header with no content
 1.30  19-Aug-2004  christos branches: 1.30.2;
Align usage with other vendor unices:
old -f -> -F
old -t -> -T
add -j
add -f <datafile>
add -m <msgfile>
add -t <interval>, as an alias to -r and recognize <num>{w,d,h,m,s}
add -s <sender>
document -I as an alias to -i
Also, interpret $SUBJECT in the message.
Correct documentation.
 1.29  05-Apr-2004  christos - more void casts
- knf nits
- check for fdopen failure
 1.28  04-Apr-2004  wiz Use setprogname(); sort options in usage.
 1.27  04-Apr-2004  christos - add debugging flag
- use getprogname everywhere
- fix bug where if no .vacation.db existed, and the first message was not
suitable for reply, vacation would create a 0 length db file, and from
then on it would fail to process.
- handle e-mail address parsing better.
 1.26  03-Apr-2004  christos reverse logic in from test; from wiz
 1.25  03-Apr-2004  christos - Fix bug in the determination of apparently-to and delivered-to.
- Add -f flag to look in Sender:, From:, and Return-Path: for the sender.
 1.24  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.23  14-Jul-2003  itojun use bounded string op
 1.22  20-Apr-2003  christos Add flags to look in Apparently-To: or Delivered-To: fields. Inspired by jhawk.
 1.21  20-Apr-2003  christos PR/5039: Greg A. Woods: vacation should look at Apparently-To: and
Delivered-To: headers.
 1.20  18-Feb-2003  perry Add some missing voids.
 1.19  10-Jan-2001  lukem revert part of previous, and change back to LOG_USER (from LOG_MAIL).
however, unlike the original behaviour, this has been done with an explicit
openlog(...,LOG_USER) to make it more obvious what facility is used.
 1.18  10-Jan-2001  lukem use LOG_MAIL (instead of default, which is LOG_USER)
log all fatal errors to LOG_ERR
 1.17  21-Jul-2000  mjl Fix name comparison bug due to questionable microoptimisation,
reported by Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
in PR/10638.
 1.16  19-Dec-1998  christos char -> unsigned char
 1.15  26-Jul-1998  mycroft const poisoning.
 1.14  08-Jul-1998  cgd can't use fclose() in vforked() child this way. Fixes PR 5582.
 1.13  07-Feb-1998  mikel syslog(3) cleanup: don't append \n, use %m instead of %s & strerror(3)
 1.12  31-Dec-1997  thorpej Change an exit() -> _exit(), so that it's safe for vfork().
 1.11  20-Oct-1997  lukem remove WARNS=0 here, use ANSI string funcs, fix .Nm usage
 1.10  20-Sep-1997  mikel update for use with WARNS=1:
- use <sys/cdefs.h> __COPYRIGHT() and __RCSID() macros
- add parens and main() prototype to shut up gcc -Wall
also replace {,r}index() with str{,r}chr(), nuke 'register', and
otherwise KNFify and clean up
 1.9  28-Aug-1997  mrg Ensure that option processing is complete before externally supplied
arguments are passed to sendmail.
 1.8  17-May-1997  pk * NULL => 0 (Arne Juul; PR#3629)
* Use braces in initializers.
 1.7  29-Apr-1995  cgd XXX casts of LONG_MAX. this is wrong, and is marked as such.
 1.6  21-Dec-1994  jtc misc cleanup by jimj and myself.
 1.5  17-Nov-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
 1.4  01-Aug-1993  mycroft Add RCS identifiers.
 1.3  26-Apr-1993  mycroft s/R_PUT/0/
 1.2  21-Apr-1993  proven Changed hash_open to dbopen.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  17-Nov-1994  jtc imported from 4.4lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.30.2.1  26-Mar-2008  bouyer Pull up following revision(s) (requested by sborrill in ticket #1914):
usr.bin/vacation/vacation.c: revision 1.31 - 1.34
PR/34095: Brian Buhrow: Vacation(1) core dumps when there is a Subject:
header with no content
Add Auto-Submitted: header per RFC 3834, from OpenBSD
PR/36643: Edgar Fu: -m missing from getopt.
While there:
- mark usage noreturn
- remove prototype for main
PR/36644: Edgar Fuss: vacation does not work if homedir not present
Don't care about it failing if all paths needed are absolute.
 1.32.4.1  03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.32.2.2  16-Jul-2007  liamjfoy Pull up following revision(s) (requested by christos in ticket #765):
usr.bin/vacation/vacation.c: revision 1.33
PR/36643: Edgar Fu: -m missing from getopt.
While there:
- mark usage noreturn
- remove prototype for main
 1.32.2.1  16-Jul-2007  liamjfoy Pull up following revision(s) (requested by christos in ticket #766):
usr.bin/vacation/vacation.c: revision 1.34
PR/36644: Edgar Fuss: vacation does not work if homedir not present
Don't care about it failing if all paths needed are absolute.
 1.34.4.1  09-Jan-2008  matt sync with HEAD
 1.35.6.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.36.60.1  10-Jun-2019  christos Sync with HEAD
 1.37.10.1  27-Jun-2023  martin Pull up following revision(s) (requested by hauke in ticket #214):

usr.bin/vacation/vacation.c: revision 1.38
usr.bin/vacation/vacation.1: revision 1.33

Make vacation(1) check 'Auto-Submitted:' (RFC 3834) in addition to
'Precedence:' (RFC 2076), and set 'Precedence:' in addition to
'Auto-Submitted:'.

Update the man page accordingly.
 1.37.2.1  27-Jun-2023  martin Pull up following revision(s) (requested by hauke in ticket #1655):

usr.bin/vacation/vacation.c: revision 1.38
usr.bin/vacation/vacation.1: revision 1.33

Make vacation(1) check 'Auto-Submitted:' (RFC 3834) in addition to
'Precedence:' (RFC 2076), and set 'Precedence:' in addition to
'Auto-Submitted:'.

Update the man page accordingly.

RSS XML Feed