summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Fix an ages-old bug in sed(1), which resulted in the absolutely validsobomax2002-04-121-1/+1
| | | | | | | | substitution expressions in the form `s,[fooexp],[barexp],;...' treated as invalid when the third `,' is (_POSIX2_LINE_MAX * N)-th character in the line. MFC after: 2 weeks
* Revert last change, to be revisited later.ru2002-04-121-0/+1
|
* Un.Ar makefile. The add of .Ar was part of my last commit.charnier2002-04-121-3/+1
| | | | Asked by: ru
* Reorder #include. Cast arg #2 of lseek to an off_t when constant. No need tocharnier2002-04-123-31/+27
| | | | | | | test if failsafe memory allocation fails, it can't. perror -> warn. Use failsafe memory allocation provided. Use .Pa and .Ar. Uppercase (first letter) programname after dot.
* Make `make WARNS=3' succeed, notably, use %d to printf daddr_t value.charnier2002-04-122-33/+33
| | | | | Use `.Nm Ns .' instead of `.Nm .' Add FBSDID. Do not put spaces inside [] in usage string.
* 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.
* Add FBSDID. Do not put spaces inside [] in usage string. Test memory allocationcharnier2002-04-122-12/+13
| | | | | return code. Correct and update C example in man page. Uppercase program name (.Nm) after a dot.
* Temporarily unconnect "doscmd" from build until I can fixru2002-04-121-1/+0
| | | | | its broken Makefile. The breakage is now fatal after the bsd.prog.mk,v 1.109 change.
* IPv6 support for tftp/tftpd.ume2002-04-114-94/+155
| | | | | Obtained from: KAME MFC after: 2 weeks
* I now don't seem to be able to reproduce the -DNOCLEAN buildworldru2002-04-112-9/+1
| | | | | | | | | | breakage with ioctl.c. The .depend file should track dependencies just fine, and the worst we can have is to miss new ioctls. But I still think it's a good idea to have -DNOCLEAN build produce the same ioctl.c as it would without -DNOCLEAN. Prodded for a long time by: bde
* find.1 does not encourage users to DTRT when piping to xargs(1)trhodes2002-04-101-0/+7
| | | | | | | PR: 36602 Submitted by: Joshua Goodall <joshua@roughtrade.net> No objections from: ru MFC after: 2 days
* o Fix an arguments number check in -n case.maxim2002-04-101-6/+1
| | | | | | | o Remove duplicated prio check, donice() makes it for us. Spotted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 1 week
* Implement POSIX -n option, cleanup an arguments parsing a bit.maxim2002-04-102-8/+55
| | | | | | | PR: bin/34076, bin/35929 Reviewed by: bde Obtained from: NetBSD MFC after: 1 week
* style(9) cleanup.maxim2002-04-101-22/+22
| | | | | Reviewed by: bde MFC after: 1 week
* Style.obrien2002-04-101-3/+3
|
* Quiet uninitialized warnings.obrien2002-04-102-0/+2
|
* compress(1) has an erroneous description of zcat, fixed.trhodes2002-04-091-8/+7
| | | | | PR: 36453 No objections from: ru
* Introduce NO_RCMNDS flag so as to not compile rsh, rlogin, and rcp on will,bmilekic2002-04-091-2/+5
| | | | | | | and document in share/examples/etc/make.conf Submitted by: Aleksandar Simic <asimic@dsl.pipex.com> MFC after: 1 week
* No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1.ru2002-04-0915-33/+0
|
* Style.ru2002-04-091-7/+7
|
* Make this compile in a standalone environment.ru2002-04-091-3/+2
| | | | | Tidy up CLEANFILES. Use built-in rules for building "maketab".
* Cast totreq to unsigned long long, as needed on 64-bit machines.asmodai2002-04-081-1/+2
| | | | Pointed out by: jeff
* Remove it in favour of GNU sortache2002-04-081-11/+0
|
* Disconnect sortache2002-04-081-1/+0
|
* Some things don't compile on ia64 and sparc64 yet.obrien2002-04-081-2/+5
|
* Align for const poisoning in -lutil.ru2002-04-081-6/+7
|
* Change totreq to uint64_t from a long (the PR has an int64_t, which didn'tasmodai2002-04-081-3/+4
| | | | | | | | | | make sense to me) and change the printf argument from %8ld to %20llu to accompany the printing of the totals. Realigned the header printed above it as well. PR: 32342 Submitted by: ryan beasley <ryanb@goddamnbastard.org> Reviewed by: jeff, Tim J Robbins
* GCC 3.1 cleanup - add a break after default: at the end of a switchmurray2002-04-082-0/+2
| | | | statement.
* FreeBSD prior to 4.4-RELEASE and older versions of 5.0-CURRENT doru2002-04-072-10/+6
| | | | | | | | not have setprogname(3) and getprogname(3), and we need to build lint(1) as a cross-tool to bootstrap. Versions from lib/libc/gen can't be compiled either. PR: bin/36747
* Later versions of gcc object very strongly to the -C flag being passedpeter2002-04-071-1/+1
| | | | | as -CC. It makes no difference to gcc in the tree, but this change is necessary for gcc-3.1 to work.
* Fix sed(1) in the case where a last line is specified and hold space is notjmallett2002-04-071-3/+5
| | | | | | | | | | | | | | | | | specified, and then the first part of the pattern space is deleted, when there are two or more input lines, as this results in subtraction of one from an unsigned integral value of '0'. That bogus value is used in one case for a loop (that will run far too many times in this case) and a function to search for a value within a specified range of memory, however now the range of memory is obscenely large and a segmentation fault will occur. This is fixed by checking for and appropriately handling a nil pattern space as if the specified search in memory failed, as indeed it obviously will with nil pattern space. Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au> PR: bin/34813 Reviewed by: mike MFC after: 1 day
* Use the new features of cdefs.h.obrien2002-04-061-1/+1
|
* Fix style.obrien2002-04-062-7/+2
|
* Remove old sort files to _actually_ build it from contrib sourcesache2002-04-0613-3384/+0
| | | | Forgotten by: des
* Rename a couple of local variables to avoid warnings.des2002-04-061-26/+26
| | | | Sponsored by: DARPA, NAI Labs
* Build a working version of sort(1) from contrib. Use netbsd.h as a hackdes2002-04-062-2/+11
| | | | | to avoid bringing the sources off the vendor branch just to #ifdef out the RCS and SCCS IDs.
* Print IFT_ETHER addresses with ether_ntoa(3) (with leading zeros).ru2002-04-061-13/+6
|
* Exclude xlint for ia64. For the time being, there are enough gccpeter2002-04-061-1/+4
| | | | | | | dependencies in the machine/* headers to make it explode when -U__GNUC__ is specified by lint. Not to mention that lint is passing undocumented (illegal?) args to cpp and that seems to upset gcc-3.1 now. Specifically, -Wp,-CC. -Wp,-C is documented and legal though.
* style(9) cosmetique of my changesache2002-04-061-18/+18
|
* Add note about double-character letters like "ss" into BUGS sectionache2002-04-051-0/+3
| | | | Reviewed by: Mike DeGraw-Bertsch <mbertsch@radioactivedata.org>
* Fix sed(1) behaviour for 'G' when given null holdspace by making sure itjmallett2002-04-051-0/+2
| | | | | | | | | | contains a \n. PR: misc/26153 Submitted by: ashp Reviewed by: mike Obtained from: NetBSD MFC after: 2 days
* Revert the "tell the program name in diagnostics". What was I thinking??obrien2002-04-052-66/+58
| | | | warnx() already does this for us.
* Minor reordering of declarations to reduce diffs to OpenBSD/NetBSD.obrien2002-04-042-17/+18
|
* Allow to compile errorlessly with GCC 3.1.obrien2002-04-041-3/+1
|
* Fix signal race.obrien2002-04-041-4/+8
| | | | | | | Use strlen() rather than magic number. Use _PATH_TMP. Obtained from: OpenBSD rev 1.13 (sig race) & rev 1.9 (strlen)
* Revert revision 1.3. This is WARNS=4 clean w/o it and it only increasesobrien2002-04-041-1/+1
| | | | the diffs to Open/NetBSD.
* Fix style regression introduced in rev 1.11 during a WARNS cleanup.obrien2002-04-041-1/+2
|
* Cast ctype macros char arg to u_char to prevent sign extensionache2002-04-041-6/+6
|
* Add STANDARDS, ENVIRONMENT, and TABLES sections.obrien2002-04-041-11/+39
| | | | Obtained from: OpenBSD
* Minor word smithing.obrien2002-04-041-1/+1
|
OpenPOWER on IntegriCloud