summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Remove f2c as its libraries were tossed last April, and f2c has been replacedobrien1999-08-0854-31525/+0
| | | | | | with EGCS's f77. Noticed still alive by: bde
* Fix integer overflow for files containing more than 4GB by usingsheldonh1999-08-061-15/+16
| | | | | | | | | | | | | u_quad_int instead of u_long for counters. (NetBSD's rev 1.15 - 1.18) Deprecate register. (NetBSD's rev 1.13) The diffs from NetBSD were not applied verbatim, because we don't care about NO_QUAD right now. PR: 12959 Reported by: Nicholas Barnes <nb@ravenbrook.com> Obtained from: NetBSD
* Add access(2) to the list of recognized syscalls.des1999-08-051-1/+2
|
* Richard the Lionheart was crowned on 3rd September 1189, not the 27thnik1999-08-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | February. If you do a web search for "lionheart crowned" you'll get lots of conflicting information. Some sites say 3rd September, while others say 27th February. Most of the "27th February" crowd seem to take their information from other incarnations of this file on other operating systems. After a very pleasant afternoon spent lunching with my girlfriend's parents, I availed myself of their extensive reference library. You'd be surprised how hard it is to get concrete information about this. The _Encyclopedia Brittanica_ doesn't mention the date, only the year, as does _Brewer's Dictionary of Phrase and Fable_, as do all the other printed sources I tried. One of them even said July 7th 1189! Microsoft's (yeah, so sue me) Encarta '95 has quite a comprehensive entry, but again, no day and month information In desperation, I tried the web once more, and finally stumbled upon http://www.btinternet.com/~timeref/hsttime2.htm. This revealed that Henry II died on 6th July 1189 (presumably the source of the 7th July entry in another reference), and that Richard was crowned on 3rd September. Best of all, this site gives references. So if any of you have a copy of _The Life and Times of Richard I_, John Gillingham, pub. George Weidenfeld and Nicholson Limited, 1974, then you can confirm this for yourselves. For completenesses sake, I tried to find an ISBN number for the above book. But Amazon and Barnes and Noble don't appear to stock it (although it looks like a revised version, by the same author, is due out in October 1999, in case anyone's interested). PR: docs/10488 Submitted by: solon@macaulay.demon.co.uk
* Add a -E flag, similar to -e (overide variables from environment) excepthoek1999-07-314-14/+47
| | | | | | | | that -E only operates for a specified variable. Useful since the -e option will often pull-in many unwanted variable overrides (esp. in a make world situation). Uses include overriding BINOWN (which cannot be done by normal methods or through abuses of MAKEFLAGS) or likely for ports to honour CFLAGS (provided they're running on a system whose make(1) has this option).
* Print an error message on illegal numerical arguments.hoek1999-07-311-5/+20
| | | | Submitted by: bin/9349 (slightly modified) Assar Westerlund <assar@sics.se>
* When printing an error message after command execution fails, don't assumehoek1999-07-311-2/+4
| | | | | the only possible error is "command not found". This makes debugging of messages such as "/bin/sh: not found" less common...
* Reflect the change from the /etc/weekly to /etc/periodic/weekly/*.nik1999-07-302-12/+22
| | | | | PR: docs/12734 Submitted by: Alexey M. Zelkin <phantom@scorpion.crimea.ua>
* Revert the past 3 commits to what should have been the rev 1.18 -> rev 1.19obrien1999-07-301-1/+1
| | | | change. (doesn't anybody read commit logs and look at the diffs?)
* Hyphens are not legal characters in a C identifier.des1999-07-301-1/+1
| | | | Broken by: hoek
* Even better fix for last commit: rename rcsid[] to _yacc-parser_rcsid[]hoek1999-07-301-2/+2
| | | | (one always gets these ideas just after the commit).
* Don't output rcsid into the output parser. It may have already beenhoek1999-07-301-2/+2
| | | | | defined in an input file such as src/bin/sh/arith.y. #if 0 it out. I did not add $Id$ back into the comment header (as removed from last commit).
* Show dirty buffers and the percentage of time a disk was busy.des1999-07-302-14/+37
| | | | | PR: 12858 Submitted by: Arjan de Vet <Arjan.deVet@adv.iae.nl>
* Only output `rcsid' (set to our Id string) into the resulting parser file.obrien1999-07-301-4/+2
| | | | | | Don't output `sccsid' (set to an anchient UCB Id string) into the parser file. Submitted by: bde
* Fix improper mmap length paramater which can result in improper behaviorgreen1999-07-291-7/+9
| | | | or cmp crashing in specific cases.
* Allow comments and blank lines as advertised in passwd(5).sheldonh1999-07-293-3/+14
| | | | | PR: 12828 Submitted by: Yasuhiro Fukuma <yasuf@big.or.jp>
* Follow the directions in the comments and add our Id string to the outputobrien1999-07-291-1/+2
| | | | file.
* Check that user supplied the required argument; and if not, show usage().obrien1999-07-291-0/+5
| | | | Obtained from: OpenBSD
* * Don't assume realloc() can take NULL as first arg. Yacc needs toobrien1999-07-291-3/+11
| | | | | | | generate portable code... * Correctly define yyparse() (ie, K&R vs. C++/ANSI-C) Obtained from: OpenBSD revs 1.5 & 1.10
* YYRECOVERING(), not YYRECOVERING.obrien1999-07-291-2/+2
| | | | Obtained from: OpenBSD rev 1.8 (approved by Robert Corbett)
* Add support for Bison's "%expect <int>" directive.obrien1999-07-293-7/+65
| | | | | | | I originally coded this myself, and now I realize {Net,Open}BSD had already coded this. I have tossed my version to reduce diffs between the projects. Obtained from: OpenBSD 2.5
* New w ability: you can list multiple users on the command line and it willgreen1999-07-282-51/+52
| | | | | | | | match with all of them, rather than only supporting a single user. PR: 11121 Kinda submitted by: James Howard <howardjp@byzantine.student.umd.edu> Reviewed by: DES
* This covers the previous version, since a null commit message was accidentallygreen1999-07-272-2/+2
| | | | | | | | | | used: Add a -c flag to print a count of messages and exit. PR: 10921 Submitted by: James Howard <howardjp@byzantine.student.umd.edu> Requested by: DES
* *** empty log message ***green1999-07-262-8/+22
|
* Convert interrupt count from signed to unsigned and the totaln_hibma1999-07-261-4/+6
| | | | | | | | from signed long to unsigned lon long. PR: 12808 Submitted by: Kevin Day toasty@dragondata.com Reviewed by: bde
* Apply suggested patch- seems reasonable.mjacob1999-07-242-5/+29
| | | | | PR: 12020 Submitted by: Matthew D. Fuller <fullermd@futuresouth.com>
* Correct a typo (22th -> 22nd)n_hibma1999-07-241-33/+34
| | | | | | | | | Remove some whitespace Fix a problem where any event on the Last whatever of the month was duplicated after the last day of the month (e.g. 32oct.) PR: 4907 Submitted by: Mikhail Teterin mi@aldan.algebra.com
* Regenerate to match changes made in the embedded yacc parser.hoek1999-07-231-28/+70
|
* Regenerate this file. This fixes a y2k bogon. As an unintentional side-effect,hoek1999-07-231-33/+75
| | | | | | | | it also fixes that fact that this file badly needed to be regenerated due to changes in yacc. Not done by: pst (in misc/1380) Almost done by: danny (in ftp.y)
* Don't dump core for a known, documented bug.sheldonh1999-07-221-1/+21
| | | | | PR: 12611 Reviewed by: markm
* Improve printf(3) conversion specifier parsing so that silly formatssheldonh1999-07-222-19/+97
| | | | | | | | | | | aren't allowed and the right casts can be used for printf() statements. Document the conversion specifier limitations and the fact that arithmetic overflow causes a fatal error. PR: 12611 Reported by: Frode Vatvedt Fjeld <frodef@acm.org> Reviewed by: bde
* Vastly improve the speed of the file command by makingwes1999-07-222-6/+7
| | | | | | | | | the expected size of the magic(5) database agree with the real world. Also, improve the behavior of the realloc mechanism when the magic database does exceed expectations. Reviewed by: Peter Jeremy, Matt Dillon Obtained from: Peter Edwards <peter.edwards@isocor.ie>
* Document the "skey" command in telnet(1).nik1999-07-191-1/+5
| | | | | PR: docs/12360 Submitted by: kjm@rins.ryukoku.ac.jp (KOJIMA Hajime)
* Add braces to appease the egcs -Wall mom.jdp1999-07-172-4/+6
|
* Make gcore work again. It was broken by a format change in thejdp1999-07-171-2/+2
| | | | | | | | | | procfs map file when object IDs were eliminated in the mega-commit that included procfs_map.c revision 1.19. The map file is a terrible hodge-podge. The fields that are used mainly for kernel debugging should be moved out of it into a separate file, so that the interface presented by the map file to applications can remain stable in the face of VM system changes.
* Decode new ptrace requests PT_GETDBREGS and PT_SETDBREGS.bde1999-07-171-1/+9
|
* Enable gprof on alpha.simokawa1999-07-165-6/+64
| | | | | | * alpha.{c,h} are same as i386.{c,h}. * Force address calculation to be done in long precision(64bit on alpha) rather than double precision(52bit).
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-12107-0/+113
| | | | | | | | | | | | | | | | | 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
* Break lines to be < 80 chars. This has been done only to that file incracauer1999-07-071-16/+25
| | | | | | | | | | doscmd that was affected by the SA_SIGINFO changes (which made many lines longer). This application is in need for general code reformatting and warning fixes. Submitted by: Warner Losh <imp@village.org>
* Per requests from the community, commit rudimentary cross compilationimp1999-07-071-2/+2
| | | | | | | | | | | | support. I've been building world with these changes for months w/o ill effect. I've also managed to build the cross tool chain for MIPS with these patches. Please note that the extent to which these patches work is largely dictated by how well our tool chains support the cross compilation. Building alpha binaries on i386 doesn't work. Supposedly building i386 binaries on alpha does work, but I've not verified it with these patches, however.
* Use -finet option to netstat(1), and don't discard anything.des1999-07-062-11/+10
| | | | | | | Don't truncate the protocol field. These two changes conspire to make sockstat(1) show divert sockets. Submitted by: ru
* Don't truncate port numbers.des1999-07-061-9/+5
| | | | Submitted by: ru
* Update to new struct sigcontext after SA_SIGINFO changescracauer1999-07-064-18/+20
|
* Clean up some ambiguous nested if/elses.billf1999-07-0419-41/+62
|
* Don't ignore weak symbols.dt1999-07-031-1/+0
| | | | | | | | | | EGCS assign weak symbols to inline functions it couldn't inline (e.g. virtual inline functions), template functions, etc. Omitting them result in quite bogus profile. Weak symbols created by __weak_reference are not really problem. Caught by: Ilya Segalovich <iseg@comptek.ru>
* Reverse the FTP_PASSIVE_MODE check, so it checks for "is not NO" ratherdes1999-07-032-7/+8
| | | | than "is YES".
* Remove unused variable.billf1999-07-021-2/+1
| | | | Approved By: phk
* Add braces to avoid ambigious else.billf1999-07-021-1/+2
|
* o use getprotobynumber(3) instead of hardcoded protocol names.ru1999-07-022-27/+15
| | | | | | | | | Divert(4) sockets will now appear as "internet raw divert" instead of "internet raw 254". o -Wall tweak. Reviewed by: bde
* Actually fixed ambiguous else. The previous revision had no effect.bde1999-07-021-4/+4
|
OpenPOWER on IntegriCloud