summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* GC (now unused here) -lcrypt.ru2004-02-021-2/+2
|
* Back out LANG printing changes. POSIX is unclear in this place, butache2004-02-021-10/+11
| | | | other systems do that in the old way.
* Fix printout case when LANG is overwritten by LC_ALLache2004-02-011-11/+10
|
* Remove the inadvertant HTML additions to this man page.wes2004-01-281-4/+4
| | | | | | These appear to have been inserted in the PR text by gnatsweb. Noticed by: des (maintainer)
* Add NO_BLUETOOTH knob to the build processemax2004-01-281-0/+2
| | | | | Requested by: phk Reviewed by: imp (mentor), ru
* Back out part of 1.21, since it breaks `script interactive-program`. Thiscperciva2004-01-271-2/+1
| | | | | | | | | re-breaks non-interactive portupgrade (or at least old versions of portupgrade); I'll see if I can put together a solution which avoids breaking anything later. Approved by: rwatson (mentor) Noticed by: Stefan Farfeleder, Joshua Goodall
* Fix ~/.hushlogin handling.fjoe2004-01-261-3/+4
| | | | | PR: 61354 Submitted by: Eugeny Grosbein <eugen (at) kuzbass.ru>
* New -e flag, modifies the behavior of the -u uid flag to use thedds2004-01-262-4/+16
| | | | | | effective user id, instead of the real user id. MFC after: 2 weeks
* Revert changes of rev 1.55; replace with strong encouragement towes2004-01-261-87/+14
| | | | | | read fetch(3) as well. Requested by: des (maintainer)
* Previous commit did the reverse of what the log message said (and ofdes2004-01-261-1/+1
| | | | what I intended to do). Really remove my middle name.
* Fixed a bug that previous revision has introduced -- we missedru2004-01-251-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the double quotes ("" and '') as a separate argument. Reported by: ache The fix in this and previous revisions combined is functionally equivalent to the below patch against rev. 1.27 but the code is now much easier to follow: %%% Index: str.c =================================================================== RCS file: /home/ncvs/src/usr.bin/make/str.c,v retrieving revision 1.27 diff -u -r1.27 str.c --- str.c 28 Oct 2002 23:33:57 -0000 1.27 +++ str.c 25 Jan 2004 12:09:21 -0000 @@ -168,7 +168,7 @@ inquote = (char) ch; /* Don't miss "" or '' */ if (start == NULL && p[1] == inquote) { - start = t + 1; + start = t; break; } } %%%
* I don't normally use my middle name, so remove it from attributions indes2004-01-251-3/+3
| | | | | man pages (though not from copyright notices). While I'm here, add email addresses where appropriate.
* Fix section number in cross reference.tjr2004-01-231-1/+1
|
OpenPOWER on IntegriCloud