summaryrefslogtreecommitdiffstats
path: root/usr.bin/msgs
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-2/+2
| |\ | |/ |/|
| * Merge head from 7/28sjg2014-08-192-3/+2
| |\
| * | Updated dependenciessjg2014-05-161-1/+0
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Updated dependenciessjg2013-03-111-0/+1
| | |
| * | Updated dependenciessjg2013-02-161-2/+0
| | |
| | |
| | \
| *-. \ Sync from headsjg2012-11-041-41/+42
| |\ \ \
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+21
| | |/ / | |/| | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | Convert to usr.bin/ to LIBADDbapt2014-11-251-2/+2
| |_|/ |/| | | | | | | | Reduce overlinking
* | | Replace all uses of libncurses and libtermcap with their wide characterbrooks2014-07-171-2/+2
| |/ |/| | | | | | | | | | | | | | | | | variants. This allows usable file system images (i.e. those with both a shell and an editor) to be created with only one copy of the curses library. Exp-run: antoine PR: 189842 Discussed with: bapt Sponsored by: DARPA, AFRL
* | Check the return error of set[e][ug]id. While this can never fail in theeadler2012-10-221-1/+2
| | | | | | | | | | | | | | | | | | | | current version of FreeBSD, this isn't guarenteed by the API. Custom security modules, or future implementations of the setuid and setgid may fail. Submitted by: Erik Cederstrand Approved by: cperciva MFC after: 3 days
* | More -Wmissing-variable-declarations fixes.ed2012-10-191-40/+40
|/ | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-113-12/+2
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-1/+0
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* 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
|
OpenPOWER on IntegriCloud