summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Use getopt instead of hand-rolled argument parsing. Usage remainswes2004-03-051-72/+15
| | | | | | | | the same, no man page changes required. PR: bin/48313 Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org> Reviewed by: joe@
* Update URL of GCC status page to GCC 3.3josef2004-03-041-1/+1
| | | | | | Approved by: simon(mentor) Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> PR: docs/63370
* Typo fix.blackend2004-03-031-1/+1
| | | | | | PR: docs/63677 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> MFC after: 1 week
* Elf_Phdr.p_type 7 is "PT_TLS".jake2004-03-021-1/+1
|
* Add the -e (mail presence test), -H (header summary mode), and -Fmikeh2004-02-296-14/+183
| | | | | | | | (message save as first recipient) options for standards conformance. Submitted by: Wartan Hachaturow <wart@tepkom.ru> (with some changes) PR: standards/61934
* Fix grammar bogon.schweikh2004-02-291-1/+1
|
* Fixed style bugs in previous commit (.ifndef instead of .if defined(),bde2004-02-291-3/+2
| | | | | | and tab lossage). Garbage-collected NEED_LIBNAMES.
* Update the find manual page:trhodes2004-02-271-1/+14
| | | | | | | | | | 1: Document -follow under COMPATIBILITY. 2: Update an example to be a little more 'safe'. 3: Use '/' in place of '.' for an example; similar to other manual pages. PR: 40196 (1), 39532 (2, 3) Submitted by: Marc Silver <marcs@draenor.org> (2 and 3) Discussed with: des (1)
* I am a moron.des2004-02-271-1/+1
|
* Re-add the setuid bit, conditional on NO_SETUID_LOGIN being undefined.des2004-02-271-0/+5
|
* Remove EXAMPLES section which duplicates text in fetch(3).des2004-02-271-22/+0
|
* Cut through the bikeshed and remove login(1)'s setuid bit. It has nodes2004-02-271-3/+0
| | | | | business trying to impersonate su(1), and it does not need to be setuid to function properly when invoked by getty(8) or telnetd(8).
* Use the -H option instead of the deprecated -follow predicate.des2004-02-251-1/+1
|
* Demangled vendor ids. Fixed misplaced FreeBSD id.bde2004-02-251-6/+9
|
* Backed out rev.1.6. A bogus include was added to work around breakage ofbde2004-02-251-2/+0
| | | | | | <netinet/tcp_var.h>'s prerequisites. Prerequistes should not grow for userland headers, and <netinet/tcp_var.h> is unfortunately still needed in userland.
* Send birthday presents to Wadham College, Oxford. :)cperciva2004-02-241-0/+1
| | | | Approved by: rwatson (mentor)
* Add my birthday.markus2004-02-231-0/+1
| | | | Approved by: arved (mentor)
* style.Makefile(5):johan2004-02-231-1/+1
| | | | Use WARNS?= instead of WARNS=.
* Typo.des2004-02-231-1/+1
|
* Use %zu for size_t, like God intended.des2004-02-181-1/+1
|
* Fix printf() format bug in previous commit (size_t != int).des2004-02-181-17/+19
| | | | | | | Use %ju and an (uintmax_t) cast to print size_t values. Use %jd and an (intmax_t) cast to print off_t values. Use off_t variables to hold the difference between two off_t values. Don't bother with unsigned char where char will do nicely.
* Revamp the statistics code, and switch to a much more compact displaydes2004-02-181-48/+56
| | | | | format. The old code tried to produce the exact same output as the pre-libfetch implementation, but I no longer see any value in this.
* Fix some WARNS:dwmalone2004-02-153-8/+7
| | | | | | 1) Remove some unused variables. 2) Mark some things aas static or __unused. 3) Cast to make sure we're comparing the same types.
* Remove an unused variable.dwmalone2004-02-151-1/+0
|
* Fix a few WARNS:dwmalone2004-02-151-6/+6
| | | | | | | 1) Include string.h for strcpy. 2) Don't make duplicate declaration of dump_file, we now include extern.h. 3) Help out with some constness. 4) Cast to slightly better types in some comparisons.
* Include timeconv.h for _int_to_time and _time_to_int.dwmalone2004-02-151-0/+1
|
* Attempt #2 to fix script(1) if the standard input is closed: If wecperciva2004-02-151-1/+3
| | | | | | | | | | | | | | | | read EOF from STDIN_FILENO, write zero bytes into the pseudo-terminal; this is interpreted as an EOF by the program being scripted. I've tested this with two non-interactive scripts: # echo 5 | script foo sh -c 'read x; sleep $x; echo bar' # echo bar | xargs script foo echo and one interactive program: # script foo more /etc/passwd and everything seems to work properly... PR: bin/56166, bin/57414, ports/57415, ports/60534 Approved by: rwatson (mentor) MFC after: 2 weeks
* Only indent once for continuation lines when not lining up withbde2004-02-122-3/+5
| | | | | | | | | | | | | | parentheses if the continuation indent is exactly half of the main indent. Indenting one contination indent for every level of parentheses gives bad results in most cases and is not what is done in about 90% of properly hand-formatted KNF code (sys/kern/*.c, nvi/common/*.c). The main advantage of the non-default KNF options -nlp -ci4 is that continuation lines don't accidentally line up with the next main indentation level or march to the right, and increasing their indentation defeats this. This behaviour change is limited to when the continuation indent is exactly half of the main indent to avoid adding yet another option.
* Add some presidential birthdays.wes2004-02-101-8/+23
|
* Add my birthday (for those interested)mlaier2004-02-101-0/+1
| | | | Approved by: bms (mentor)
* Added an option -ldi<N> to control indentation of local variable names.bde2004-02-094-4/+27
| | | | | | | | | | | | The default is to be backwards compatible and non-KNF (use the same indentation for locals as for globals; -ldi0 gives KNF indentation for locals (none)). The indentation for globals also applies to struct member names in local declatations. The indentation of variable names in multi-line declarations is broken in various ways and this commit gives some new variations. indent.1: Also clarified the description of -di<N>.
* Only use tabs to indent variable names if the declaration indent isbde2004-02-091-8/+8
| | | | | | | | nonzero (so that the 1-char indentation given by -di0 is never rendered by a tab). Removed garbage commented out code for setting the indentation of variable names.
* Backed out a part of previous commit that wasn;t mentioned in the logbde2004-02-091-2/+1
| | | | | message and wasn't quite ready (it avoided indenting the names of local variables).
* Fixed tab lossage in indented variable names. The -diN option wasbde2004-02-091-6/+22
| | | | | | | worse than useless because it caused things like mangling of "^int\tfoo" to "int foo" (this for N = 8). This quick fix breaks the invariant that characters between s_code and e_code have width 1, but nothing seems to depend on this.
* Fixed misformatting of "struct foo *bar" in function parameter lists. Itbde2004-02-091-8/+11
| | | | | | | | | | was mangled to "struct foo * bar". There should be an option to control this, but no space is normal. This finishes fixing the bugs in rev.1.4. indent(1) still doesn't really understand types in parameter lists. It thinks keywords inside parentheses are for casts or sizeofs. This works accidentally for scalar types and this quick fix makes it work similarly but not so accidentally for struct/union/enum types.
* Expanded the size of the keyword table from 100 to 1000 entries so thatbde2004-02-091-1/+3
| | | | | | | | | | the number of typedef-names is not so limited. Same as in rev.1.4. Added the "const" and "volatile" to the keyword table. Rev.1.4 added these but they were misclassified so they were not formatted as types. indent still doesn't really understand them. E.g., it mangles "char * const *foo" and "char *const *foo". This change mainly stops it mangling "char const foo" to "char<declaration-indent>const foo".
* Backed out rev.1.4 and 1.7 so they they can be implemented and committedbde2004-02-091-18/+5
| | | | | | | | | | | | | properly. Of the 3 changes mentioned in the log message for rev.1.4, the first (implementing -[n]fcb) was correct but didn't touch this file, the second (no-space-after-sizeof) was not actually done (it is the default and is controlled by the undcoumented -[n]bs options), and the third (no-space-after 'struct foo *') was very buggy and was reduced to wrong comments and other style bugs by backing out the main part of it in rev.1.6. Rev.1.4 had 2 changes which were not mentioned in its commit log: expand specials[] so that more than -83 typedef-names can be specified (this was the one working change in rev.1.4), and add "const" and "volatile" to specials[] (this was buggy).
* - Demangle usage().ru2004-02-071-10/+9
| | | | - Require the "directory" argument with the -d option.
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).ru2004-02-0511-22/+23
|
* Added missing DPADD.ru2004-02-051-1/+1
|
* printed statistics about source address selection rules.ume2004-02-051-0/+25
| | | | Obtained from: KAME
* stops program if kvm_read fails.ume2004-02-051-2/+3
| | | | Obtained from: KAME
* - support hmac-ripemd160.ume2004-02-051-1/+10
| | | | | | - support AES XCBC MAC/AES counter mode. Obtained from: KAME
* print stats on SPD cache lookups.ume2004-02-051-0/+5
| | | | Obtained from: KAME
* - %d is 12 chars, not 10. use NI_MAX* where appropriate.ume2004-02-051-67/+52
| | | | | | | | - goodbye RC5. - use %llu directly. - KNF. Obtained from: KAME
* Removed unnecessary dependencies on librpcsvc.ru2004-02-042-6/+0
| | | | Prodded by: des
* Put libdevstat before libkvm, because the former depends on the latter.ru2004-02-042-4/+4
|
* Add myself.josef2004-02-031-0/+1
| | | | Approved by: simon(mentor)
* Add my birthday.le2004-02-031-0/+1
| | | | Approved by: joerg (mentor)
* Fixed style of assignments.ru2004-02-021-2/+2
|
OpenPOWER on IntegriCloud