summaryrefslogtreecommitdiffstats
path: root/usr.bin/vacation
Commit message (Collapse)AuthorAgeFilesLines
* Calls one or more of malloc(), warn(), err(), syslog(), execlp() ordes1998-10-131-2/+2
| | | | | | | | | | | execvp() in the child branch of a vfork(). Changed to use fork() instead. Some of these (mv, find, apply, xargs) might benefit greatly from being rewritten to use vfork() properly. PR: Loosely related to bin/8252 Approved by: jkh and bde
* Add const to copyright string. Hide sccsid string.charnier1997-11-031-4/+6
|
* Many places in the code NULL is used in integer context, wherephk1997-09-181-2/+2
| | | | | | | | | plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
* Stop parsing args before user supplied to argument in sendmail.imp1997-08-281-2/+2
| | | | Submitted by: Oliver Friedrichs <oliver@silence.secnet.com>
* Even better fix: use close(fileno(mfp)); to close unneded descriptorache1997-04-231-1/+2
| | | | and not clobber memory by fclose().
* Better fix: return vfork() again, but remove clobbering fclose()ache1997-04-231-4/+3
| | | | and use _exit() instead of exit()
* Replace vfork() by fork(), vfork() usage is totally bogus in this context.ache1997-04-231-2/+2
| | | | | This program don't bother to do even minimal vfork() support as per vfork(2) manpage required.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Removed stray DPADD.bde1997-01-101-3/+2
|
* Various cleanups:joerg1996-09-283-17/+93
| | | | | | | | | | | | | . prototyped and staticized the internal functions while i was here, . made the thing -Wall clean, . fixed an error that causes the recipient name to be matched only for the first characters, as opposed to a full name (wonder why i'm concerned? Well, one of my login IDs is `j', and i've noticed that vacation has been sending out replies to all mailing list messages that had a jkh@ or jmb@ in it :), . introduced an option -l to list the contents of the database; mucho useful if you've got (too) many mailing list messages in your inbox and wanna make sure you don't miss the `important' mails.
* Correct a bunch of man page cross references and generallympp1996-02-111-2/+3
| | | | | | try and silence "manck". ncurses, rpc, and some of the gnu stuff are still a big mess, however.
* Correct some manual page cross reference errors. E.g. su is a sectionmpp1996-02-021-2/+2
| | | | | one man page, not section eight. This is the first round of such changes and only fixes man pages in manual section one.
* Delete bogus referneces to timezone code internal header file `tzfile.h',wollman1995-08-071-3/+2
| | | | which is no longer bogusly installed in /usr/include.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-273-0/+597
OpenPOWER on IntegriCloud