summaryrefslogtreecommitdiffstats
path: root/usr.bin/msgs
Commit message (Collapse)AuthorAgeFilesLines
* Revert "POSIX saved uids change". seteuid(2) is not POSIX, andghelmer1998-07-141-3/+2
| | | | | | FreeBSD does not have _POSIX_SAVED_IDS enabled. Thanks to Warner Losh and Ollivier Robert for pointing this out, and Bruce Evans for explaining the role of _POSIX_SAVED_IDS.
* Security and minor functionality changes based on OpenBSD msgs.c:ghelmer1998-07-091-14/+30
| | | | | | tmp file (mktemp changed to mkstemp), saved POSIX uids, buffer overflow, and use PAGER environment variable if set. Obtained from: OpenBSD
* Previous fix didn't make it past the Bruce filter. Clean upjkh1998-07-071-5/+2
| | | | non-KNF indentation and use err() properly.
* msgs -p (and maybe other flags, too) gives misleading error messages,jkh1998-07-071-1/+7
| | | | | | | | | | especially on a new install, where /var/msgs/bounds doesn't exist. I moved my bounds file out of the way to create this before and after on a quick 'n' dirty hack, which is probably the 23rd best way to do it, but it works: PR: 6963 Submitted by: Matthew Fuller <fullermd@mortis.futuresouth.com>
* Minor grammar and punctuation cleanup.ghelmer1998-06-231-6/+10
| | | | Reference /etc/periodic/daily instead of /etc/crontab.
* Use err(3).charnier1997-07-292-55/+69
| | | | | | | sprintf -> snprintf from OpenBSD. Add usage(), prototypes. Use MAXPATHLEN instead of 128 from OpenBSD. Obtained from: OpenBSD
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Sort cross references.wosch1997-01-151-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Eliminated includes of the "temporary" backwards compatibility headerbde1996-09-241-2/+2
| | | | | | <sys/dir.h> in applications. Maintained existing (inadequate) ifdefs for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any new ones.
* Localize itache1995-12-131-4/+5
|
* Initialize some uninitialized variables to fix a bug that sometimesdg1995-12-061-1/+1
| | | | | resulted in msgs doing strange things, including getting stuck in an infinite loop.
* Default file creation mask was 666 (allow othres write anythingache1995-11-191-2/+2
| | | | to msgs directory), change it to 644
* usr/ucb -> usr/bin and usr/msgs -> var/msgs.bde1995-06-251-3/+3
|
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* Fix nested comments for -Wcomment warnings.rgrimes1995-05-091-2/+2
|
* Use tcflush(), eliminate libcompat.wollman1995-02-212-8/+8
|
* Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcaprgrimes1994-09-111-2/+2
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-274-0/+1124
OpenPOWER on IntegriCloud