summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Add #ifdefs for __NetBSD__ in the rest of the places where __FreeBSD__jb1998-01-151-12/+12
| | | | | | | | | is defined so that this program behaves the same when built with either set of tools. The only difference is where the pre-processor is found. And that is a bug - it should check the CPP environment variable and the path before just assuming that the compiled in path is OK. I guess we should be using -Y ${WORLDPATH}/usr/bin/cpp during a bootstrap build.
* Add rcsid. Remove unused #includes (what about RU# ?). Change exit(-1) andcharnier1998-01-1412-60/+82
| | | | add usage().
* Add rcsid, remove unused #includes, change exit(-1).charnier1998-01-141-4/+7
|
* Change MAP_FAILED to type void *.alex1998-01-131-3/+3
| | | | Typo fix.
* Change message 103, trailing \n is not needed when using errx(3).charnier1998-01-124-8/+8
|
* Use Id instead of Header. Change message 103, trailing \n is not neededcharnier1998-01-124-8/+8
| | | | when using errx(3).
* Use Id instead of Header. Sort #includes. Use err(3) and change exit(-1).charnier1998-01-121-23/+19
|
* changed 1st appeared in clause -- about to import into -stableobrien1998-01-121-3/+3
|
* Update for new common calendar.steve1998-01-121-25/+125
| | | | Submitted by: Josef Grosch <jgrosch@superior.mooseriver.com>
* Reword the synopsis line so that it makes sense.steve1998-01-121-2/+2
|
* Add an option (-M) to install to disable use of mmap(2). This is kindapeter1998-01-112-7/+14
| | | | | | handy at the moment with -current's mmap+unlink interactions.. The problems seem worst when using INSTALL="install -C" in /etc/make.conf. This could well come in handy in the future too.
* A partial frontal lobotomy for find if using the NetBSD libc whichjb1998-01-103-1/+12
| | | | | | | | | doesn't know about getvfsbyname() and the vfsconf structure. This disables the -fstype option if compiled with a pre-processor that defines __NetBSD__. With the FreeBSD built pre-processor, find can only be built with the FreeBSD libc. So when running with a NetBSD kernel, FreeBSD's libc will have to return ENOSYS for things that NetBSD doesn't support. That's life in a hybrid world.
* Revert to previous behaviour, only generate NLST for explicit "nlist"msmith1998-01-091-3/+3
| | | | | command. Submitted by: wollman
* Revert the changes yet again, after some email from Bruce. Sorry.sef1998-01-095-13/+13
|
* Add __NetBSD__ in a couple of places to allow this program tojb1998-01-091-3/+5
| | | | | compile under NetBSD, but behave like FreeBSD. For the time being, look for NetBSD's cpp in /usr/bin.
* Allow install to build from FreeBSD source using NetBSD tools andjb1998-01-091-1/+9
| | | | | headers during the port of FreeBSD to a NetBSD supported architecture. FreeBSD needs to be able to install itself from very early on.
* Proper way to do the previous mis-commit. Still not quite right, becausesef1998-01-095-13/+13
| | | | | | | some header files (e.g., <err.h>) include <machine/something.h>, and this will not pick up the right header files, so it may be removed eventually anyway. But some people who are not willing to build the right way apparantly want this, so this is for them.
* Get rid of the bogus include -- it is incomplete (as it doesn't handlesef1998-01-091-1/+1
| | | | | | | | anything other than <sys/*.h>), and unnecessary in most cases. (The situations where it is necesary can be dealt with by manually-made symlinks, which is acceptable since they should only occur during testing. Remember: the tree does not compile well if you do not have matching header files installed. Half-baked -I directives don't cover enough of the cases.)
* Mention S/key and the skey /etc files.obrien1998-01-071-3/+18
|
* Sync usage and synopsis. Add rcsid.charnier1998-01-072-13/+18
|
* Something important happened last year. And this file was last updatedcharnier1998-01-071-1/+2
| | | | | in 82. PR: misc/5416
* include sys so it builds on 2.2.xjmg1998-01-072-3/+3
| | | | also, fix misspelling of -1 (as EOF for getopt)
* Wait for job to finish and exit if exec fails.imp1998-01-071-1/+2
| | | | Obtained from: OpenBSD (Theo de Raadt)
* 1. Don't reject 0145 if started at 22XX.helbig1998-01-062-14/+37
| | | | | | | | | | | | | | | Applied suggested fix from Andrew Andrew <andrew@ugh.net.au> with some stylistic changes. Thanks. 2. #include <sys/time.h> -> #include <time.h> 3. Removed #include <sys/param.h> 4. Use setlocale(3) and strftime(3) instead of ctime(3). 5. Clean up -Wall warnings. 6. Make sure, time to leave are integral minutes if the argument is absolute. (i. e. without "+"). If started at 10:10:55 with argument "1020" it computed time to leave as 10:20:55 instead of 10:20:00. PR: 5395
* 1. Don't be confused if the first day of a month is dropped due tohelbig1998-01-061-27/+39
| | | | | | | | Gregorian Reformation. E. G. in Albania December 1, 1912 doesn't exist. 2. Add some countries in the switch table (BE, FI, LN, LU) 3. Correct some entries from the new found source of calendar knowledge: http://www.pip.dknet.dk/~c-t/calendar.html, That is Claus Tondering's Calendar FAQ.
* Sort Xrefs. Use err(3). Remove uneeded #include.charnier1998-01-058-100/+107
| | | | | | Correct usage: one of {-p pid, command} is required. Open output file when command line is fully analyzed: incorrect `truss -o f' command does not create an empty file anymore.
* Add SEE ALSO section including ref to gzip. Add .An.charnier1998-01-051-5/+10
|
* Fix a style bug, and a real bug (&& vs. & misused).joerg1998-01-041-3/+4
| | | | Submitted by: bde
* Type fix: when -> withsteve1998-01-031-1/+2
| | | | | PR: 5420 Submitted by: Jonathan Hanna <jh@pc-21490.bc.rogers.wave.ca>
* Use locale to guess the switch date.helbig1998-01-032-48/+87
| | | | | Localize formatting of date of easter. Suggested by: ache
* Teach boring old mail(1) about the use of the REPLYTO environmentjoerg1998-01-029-22/+64
| | | | | | | | | | variable which is de-facto standard for MUAs. Teach bomail to generate an in-reply-to header so threading MUAs and mail->news gateways won't lose context. While i was at it, removed two gratuitous standard violations for functions starting with an underscore.
* Don't ignore empty components of $PATH, i. e. colon at the beginning,helbig1998-01-021-1/+6
| | | | | | the end or two successive colons. Reviewed and improved by wosch.
* Re-order the for loop for multiple procnames. This decrease thewosch1998-01-011-25/+29
| | | | | | | | | | system load and makes a killall ppp rlogin ftp ssh ping traceroute telnet a lot faster. Remove duplicated pid's before killing (killall lynx lynx).
* Typo fix.alex1998-01-011-2/+2
|
* Ensure 2 letter abbreviations of weekdays (even if LANG=Chelbig1997-12-311-3/+5
| | | | and invoked as "cal").
* Fix typo while copying patch from the 2.2 system that it came frompeter1997-12-301-3/+3
| | | | Use execvp rather than execv so that full paths are not needed.
* * add a -c option which displays the grand total of all filesjkh1997-12-292-123/+144
| | | | | | | | | | | | | | | | | | | counted. * re-word parts of the man page which I felt were badly worded or ambiguous. * change the behaviour of argument processing so that when more than one of the -P, -H and -L options are specified it will print an error message, rather than choosing the last option specified, this behaviour is more logical and consistent with other utilities. * change the behaviour of argument processing so that negative arguments to the -d option are not allowed. PR: 5388 Submitted by: Niall Smart <rotel@indigo.ie>
* script(1) has annoyed me with it's inflexable command argument parsingpeter1997-12-292-14/+43
| | | | | since I first saw it. I finally needed to pass arguments through to the spawned command badly enough (and urgently) that I threw this together.
* -Wall cleanup.alex1997-12-298-14/+26
|
* -Wall cleanup.alex1997-12-281-3/+3
|
* Fix some minor formatting nits.steve1997-12-271-9/+9
| | | | | PR: 5373 Submitted by: Matthew Hunt <mph@pobox.com>
* Use consistent spelling,hoek1997-12-251-1/+1
| | | | | | | | writeable -> writable (recall prior debate over this? :-) initialise -> initialize recognise -> recognize Merry Christmas! :)
* Fix sysctl path /usr/sbin->/sbinache1997-12-221-2/+2
|
* Remove private install rule in favor of INTERNALLIB andcwt1997-12-211-5/+4
| | | | | | INTERNALSTATICLIB. Suggested by: bde
* Add some copyright and license terms, at Jordan's request. Note thatsef1997-12-208-8/+234
| | | | syscall.h just refers to another file for the copyright notice.
* Use '.\' and not '/* */' for troff-comments.helbig1997-12-191-34/+33
|
* Removed extra (non-trailing) arg in a call to warnx().bde1997-12-181-2/+2
|
* <bsd.prog.mk> has always included ../Makefile.inc, and there are nobde1997-12-173-4/+3
| | | | complications involving .PATH or dependencies, so don't include it here.
* DPADD repairs suggested by Bruce Evans <bde@zeta.org.au>cwt1997-12-175-11/+13
|
* Fixed DPADD.bde1997-12-161-2/+3
|
OpenPOWER on IntegriCloud