summaryrefslogtreecommitdiffstats
path: root/usr.bin/msgs
Commit message (Collapse)AuthorAgeFilesLines
* Never use getenv("HOME") without checking for NULL and non-zerokevlo2007-10-301-2/+7
| | | | Obtained from: OpenBSD
* Cleanup:delphij2005-01-172-17/+18
| | | | | - Change signedness of nxtfld() to make msgs(1) WARNS=6 clean - Add several static's
* Deal with double whitespace.ru2004-07-031-2/+2
|
* Fixed misspellings of '\0' as NULL.bde2004-03-111-4/+4
|
* Fix singular/plural confusion in a printf.mike2003-02-061-1/+2
| | | | | | PR: 47953 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> MFC after: 3 days
* ANSIify function definitions.dwmalone2002-09-041-21/+12
| | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5
* Remove local prototypes for main().jmallett2002-08-191-1/+0
|
* mdoc style: break up sentenceskeramida2002-07-151-3/+6
|
* mdoc(7) police: removed unnecessary .Ns.ru2002-05-301-1/+1
|
* Use `The .Nm utility'charnier2002-04-201-8/+12
|
* Fixed some style bugs:bde2002-04-181-3/+4
| | | | | | | - ifdefs around vendor sccsid were left reversed after switching to __FBSDID(). - vertical whitespace after some of the non-FALLTHROUGH cases was lost. - too much vertical whitespace before prototypes.
* Backed out the style bugs in rev.1.17:bde2002-04-181-41/+41
| | | | | | | | | | - don't use unusual indentation for 39 lines of declarations when only 2 of the lines benefit from it. - don't use __DECONST(). This was the one use of it in the tree, and it was just wrong. It was used to hide the warning about tgetnum() having the wrong prototype (missing a `const') due to libncurses being misconfigured. libncurses has been fixed, so the original code now compiles cleanly with WARNS=4.
* Document that only superuser can use -c option. Add FBSDID. Make use of uid_tcharnier2002-04-122-13/+19
| | | | | to silent lint. fprintf -> err conversion. Add some FALLTHROUGH and NOTREACHED comment to silent lint.
* remove __Pimp2002-03-221-10/+10
|
* Remove leaf node WARNS?=2 (that mainly I added). This shouldmarkm2002-02-081-1/+0
| | | | help the GCC3 transition and CURRENT in general.
* File positions are off_t nowdays, not long, so:ache2001-09-031-13/+13
| | | | | | | | | | | | | | fseek -> fseeko ftell -> ftello fseek(x, 0L, 0) -> rewind(x) NOTE: that fseek/ftell not works for >long offsets per POSIX: [EOVERFLOW] For fseek( ), the resulting file offset would be a value which cannot be represented correctly in an object of type long. [EOVERFLOW] For ftell ( ), the current file offset cannot be represented correctly in an object of type long.
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Fix WARNS=2 warnings on alpha and i386 and clamp it downkris2001-05-262-43/+45
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-3/+3
|
* Complete migration of aliases file to /etc/mail/aliases.gshapiro2000-08-131-1/+1
| | | | | The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster have been contacted so those may be updated as well.
* MFS: Don't allow printf directives in PAGERkris2000-07-071-1/+1
| | | | Obtained from: OpenBSD
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-1/+2
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Apply suggested patch- seems reasonable.mjacob1999-07-242-5/+29
| | | | | PR: 12020 Submitted by: Matthew D. Fuller <fullermd@futuresouth.com>
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* 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