aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* o Add support for a 'nocheckmail' capability, which (if true) preventsRobert Watson2001-11-161-9/+12
| | | | | | | | | | | | the 'You have mail.' check. This is useful for sites that rely on remote mail access, rather than a local mail spool. Due to the behavior of login_getcapbool(), the negated form is required so as to have appropriate results. o This behavior may have to be independently added to sshd due to redundant implementation. Notes: svn path=/head/; revision=86450
* Deuglify the usage message by putting the program name after theDima Dorfman2001-11-151-1/+2
| | | | | | | | | | | "usage:" string. This is how most (all?) other programs in the system do it. PR: 31596 Submitted by: Cyrille Lefevre <clefevre@citeweb.net> Notes: svn path=/head/; revision=86404
* My final rite of FreeBSD is now complete.Cy Schubert2001-11-151-0/+1
| | | | | | | | Reviewed by: nectar Approved by: nectar Notes: svn path=/head/; revision=86400
* Remove accidentally included NZ holidays.Greg Lehey2001-11-151-22/+12
| | | | | | | | | | | Get floating holidays right. Add the richness of NT holidays. Submitted by: Conrad Parker <conrad@vergenet.net> Notes: svn path=/head/; revision=86377
* Add public holidays in Australia and New Zealand.Greg Lehey2001-11-152-0/+87
| | | | | | | Submitted by: Conrad Parker <conrad@vergenet.net> Notes: svn path=/head/; revision=86370
* Follow tradition and add myselfPatrick Li2001-11-151-0/+1
| | | | | | | Approved by: lioux Notes: svn path=/head/; revision=86369
* Never added my entry which the committers guide says is aAndrew R. Reiter2001-11-131-0/+1
| | | | | | | tradition. Notes: svn path=/head/; revision=86326
* Have rpcgen output the prototypes for the dispatch tablesAlfred Perlstein2001-11-131-0/+19
| | | | Notes: svn path=/head/; revision=86318
* Fix NO_SENDMAIL knob. When FreeBSD's old BSD version of vacation wasGregory Neil Shapiro2001-11-111-1/+4
| | | | | | | | | | | | | | | | | | replaced with the new version in sendmail's distribution, vacation and the necessary libraries (libsmdb and libsmutil) were changed so they were always compiled. This broke people who didn't checkout src/contrib/sendmail/. I don't know if it's best to think of NO_SENDMAIL as no sendmail sources available or no sendmail binary. It is now the former. Also, remove the sendmail chapter from System Managers Manual (SMM) if NO_SENDMAIL is defined (for similar reasons -- source not available). PR: 31863, 31865 Submitted by: matusita, Joe Kelsey <joe@zircon.seattle.wa.us> MFC after: 3 days Notes: svn path=/head/; revision=86252
* Remove an extraneous argument to fprintf that -Wformat noticed.Ian Dowse2001-11-101-1/+1
| | | | | | | Reviewed by: des Notes: svn path=/head/; revision=86242
* Actually, arc4random() returns a uint32_t, not an int. Use the correctGarrett Wollman2001-11-081-1/+1
| | | | | | | | | constant, just in case uint32_t turns into a `short' ten years from now. If this is MFC'd it will be necessary to hard-code the constant since -stable doesn't have UINT32_MAX. Notes: svn path=/head/; revision=86197
* fix jot -r on 64-bit platforms by teaching it that arc4random outputsAndrew Gallatin2001-11-081-1/+1
| | | | | | | | | | an int, not a long Submitted by: Paul Herman <pherman@frenchfries.net> PR#: alpha/31859 Notes: svn path=/head/; revision=86196
* Don't allocate a zero byte segment.Mike Heffner2001-11-081-1/+4
| | | | | | | | PR: bin/11900 MFC after: 2 weeks Notes: svn path=/head/; revision=86193
* Add missing include for <ctype.h>Brian Feldman2001-11-061-27/+47
| | | | | | | | | | Make sockaddr printing code unbad. Always copy in sizeof(sockaddr_un) bytes for an AF_UNIX sockaddr, despite what the length may be. Notes: svn path=/head/; revision=86138
* Anding the fsid with 0xffff was causing aliasing problems.David Malone2001-11-053-4/+4
| | | | | | | | | | PR: 17405, 16320 Submitted by: Mark W. Krentel <krentel@dreamscape.com> Submitted by: Peter Edwards <peter.edwards@ireland.com> MFC after: 2 weeks Notes: svn path=/head/; revision=86100
* Make filenames const to avoid a few warnings.David Malone2001-11-055-9/+15
| | | | | | | | | Add FreeBSD tags. Reviewed by: cmp Notes: svn path=/head/; revision=86099
* Don't use gcc -Wall flag. Add FreeBSD: line.David Malone2001-11-051-1/+1
| | | | Notes: svn path=/head/; revision=86098
* Add two Russian holidays (by osa)Andrey A. Chernov2001-11-051-6/+8
| | | | | | | | | | Lowercase some titles (by me) PR: 31769 Submitted by: "Sergey A.Osokin" <osa@FreeBSD.org.ru> Notes: svn path=/head/; revision=86081
* Nuke spaces in front of tabs.Dima Dorfman2001-11-041-1/+1
| | | | Notes: svn path=/head/; revision=86053
* Fix compilation with -DDEBUG.Dima Dorfman2001-11-041-1/+1
| | | | | | | | PR: 31536 Submitted by: Alan Batie <alan@agora.rdrop.com> Notes: svn path=/head/; revision=86051
* Make cmp work by mmapping chunks of a file, rather than the wholeDavid Malone2001-11-041-14/+52
| | | | | | | | | | | file at one time. PR: 24732 Submitted by: Andrew L. Neporada <andr@dgap.mipt.ru> MFC after: 2 weeks Notes: svn path=/head/; revision=86044
* Add myself.Shigeyuki Fukushima2001-11-041-0/+1
| | | | Notes: svn path=/head/; revision=86015
* Add myself.MANTANI Nobutaka2001-11-031-0/+1
| | | | | | | Reviewd by: knu Notes: svn path=/head/; revision=85984
* Remove a debugging warnx() that got committed by mistake.Dag-Erling Smørgrav2001-11-031-1/+0
| | | | Notes: svn path=/head/; revision=85933
* Bring Gawk back. There just isn't any other POSIX compliant AWK out there.David E. O'Brien2001-11-021-1/+0
| | | | | | | The biggest thing missing from Bell-Labs AWK is the character class regexes. Notes: svn path=/head/; revision=85924
* In order to perform faster when doing "head -n", use a pair ofAlfred Perlstein2001-11-021-7/+8
| | | | | | | | fgetln/fwrite instead of getc/putchar, this seems about five times faster. Notes: svn path=/head/; revision=85861
* change a global into a local, misc style fixesAlfred Perlstein2001-11-021-7/+5
| | | | Notes: svn path=/head/; revision=85859
* Really fix this work to work. While rev 1.24 did allow awk to run w/oDavid E. O'Brien2001-11-011-3/+3
| | | | | | | complaining; the resulting output was useless. Notes: svn path=/head/; revision=85796
* Utilize the property of 'echo' in that it removes \n from its input.David E. O'Brien2001-11-011-1/+1
| | | | Notes: svn path=/head/; revision=85794
* Add -K support to gprof(1), which enables dynamic symbol resolution fromBrian Feldman2001-10-306-4/+89
| | | | | | | | | | | | the currently-running kernel (and supercedes an executable file argument given). With this change, properly-compiled KLD modules are now able to be profiled. Obtained from: NAI Labs CBOSS project Funded by: DARPA Notes: svn path=/head/; revision=85739
* Switch to the One True AWK from Bell-Labs, away from GNU AWK.David E. O'Brien2001-10-302-0/+37
| | | | Notes: svn path=/head/; revision=85724
* localtime() was being called on an int pointer (due to recentMatthew Dillon2001-10-291-6/+13
| | | | | | | utmp-related commits). fixed. Notes: svn path=/head/; revision=85648
* Fix long format mismatch with int argMatthew Dillon2001-10-291-1/+1
| | | | Notes: svn path=/head/; revision=85647
* o Restore previous inconsistent style to login_fbtab.c, following itsRobert Watson2001-10-281-22/+22
| | | | | | | | | | modification to add glob support. The submitted patch used a degraded form of KNF. Reviewed by: bde Notes: svn path=/head/; revision=85645
* Fix time_t == int assumption, convert protocol int to time_t.Matthew Dillon2001-10-281-1/+2
| | | | Notes: svn path=/head/; revision=85639
* Fix time_t == int assumption, properly convert protocol int to time_t.Matthew Dillon2001-10-281-3/+2
| | | | Notes: svn path=/head/; revision=85638
* Make this compile cleanly when warnings are enabled:Jens Schweikhardt2001-10-288-227/+310
| | | | | | | | | | | | | | | | | - ANSIfy function declarations - braces around initializers structs within structs - add parens in complicated expressions - disambiguate dangling elses - no more implicit int - make functions static where possible - use prototypes - don't use varargs hack for diag() Requested by: joerg MFC after: 2 weeks Notes: svn path=/head/; revision=85632
* Correct James Cook's year of birth. I wonder how anybody could expectGreg Lehey2001-10-271-1/+1
| | | | | | | him to have been born in the 15th century. Notes: svn path=/head/; revision=85574
* o Modify format of /etc/fbtab to accept glob matching patterns forRobert Watson2001-10-251-35/+23
| | | | | | | | | | | | | | | | | target devices, not just individual devices and directories. This permits activities such as: ttyv0 0600 /dev/dsp* Whereas previously that was not supported. This change is backwards-compatible, except where device names included globbing characters, which is not the case for any devices listed in MAKEDEV. Submitted by: Maxime Henrion <mux@qualys.com> MFC after: 3 weeks Notes: svn path=/head/; revision=85504
* Update Labour Day in New Zealand. It's definitely not today. ThisGreg Lehey2001-10-251-1/+1
| | | | | | | | year it was on 22 October, which makes me think that it's the 4th Monday in October. At least this way it's correct for this year. Notes: svn path=/head/; revision=85447
* Fix typo.Murray Stokely2001-10-231-1/+1
| | | | | | | | PR: docs/31388 Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp> Notes: svn path=/head/; revision=85375
* Add ia64 support (stubs, just like i386, alpha)Peter Wemm2001-10-233-0/+61
| | | | Notes: svn path=/head/; revision=85353
* This program uses sysexits(3), so it does not exit 1 on failure.Dima Dorfman2001-10-231-3/+1
| | | | | | | PR: 31415 Notes: svn path=/head/; revision=85337
* Back out part of previous commit: remove #include <sys/proc.h>.Dag-Erling Smørgrav2001-10-222-2/+0
| | | | Notes: svn path=/head/; revision=85317
* #include <sys/proc.h> where needed (for the stop event definitions) andDag-Erling Smørgrav2001-10-227-29/+49
| | | | | | | reorder includes everywhere to conform to style(9). Notes: svn path=/head/; revision=85301
* Teach truss(1) to display sockaddrs. It currently knows about AF_INET,Dag-Erling Smørgrav2001-10-212-3/+82
| | | | | | | | | | | | AF_INET6 and AF_UNIX sockaddrs, and will recognize accept(), bind(), connect(), getpeername() and getsockname() as syscalls taking sockaddr arguments. Some enterprising soul might want to add (and test) support for the send() / recv() family of syscalls as well. MFC after: 1 week Notes: svn path=/head/; revision=85292
* Properly handle backslash newline within an identifier or keyword.Jens Schweikhardt2001-10-191-1/+11
| | | | | | | | | | | PR: bin/6015 Submitted by: myself (schweikh) Patch by: Alexey V.Neyman <alex.neyman@auriga.ru> Tested by: indenting my chess problem solver and running its test suite MFC after: 3 weeks Notes: svn path=/head/; revision=85182
* Fixed most style bugs in previous commit.Bruce Evans2001-10-191-14/+11
| | | | Notes: svn path=/head/; revision=85155
* Fixed missing DPADD and misplaced $FreeBSD$ in previous commit.Bruce Evans2001-10-191-1/+2
| | | | Notes: svn path=/head/; revision=85152
* Print statistics for AF_IPX.Matthew N. Dodd2001-10-191-0/+2
| | | | | | | Note that the IPX code doesn't update these correctly yet, but should. Notes: svn path=/head/; revision=85124