Commit Graph

7043 Commits

Author SHA1 Message Date
jdolecek e9a93e256b properly dottify .\" comments; this fixes output of [range] paragraph 2003-10-09 16:56:06 +00:00
christos ca7e7788b7 - enable WARNS 2
- delint (void casts, shadow warning on port)
- always cast to unsigned char for isfoo() macros, not sometimes.
- save errno to avoid reporting random error value.
- use warnx() when the error is indeed unknown.
- use getprogname() instead of __progname.
- make all locals static.
2003-10-09 15:32:37 +00:00
jrf df042318ea christos@netbsd.org suggested we replace whois
with one that is KNF, has ipv6, better error
handling, and recursion. I settled on OpenBSDs.
Christos found some nits and had me commit as
is. Christos will follow up with fixes shortly.
2003-10-09 14:21:49 +00:00
wiz 618a3a6591 Remove space that broke page. From Nicolas Joly in PR 23082. 2003-10-08 07:43:55 +00:00
lukem 53a9d2856c fix typo that prevented ${PROG}.unstripped from being removed in "clean" 2003-10-07 07:08:20 +00:00
christos 72eafe083f On MP systems, print a line for each cpu describing cpustate. 2003-10-03 15:32:06 +00:00
itojun 8af6887573 correct arg to setpeer() from main(). 2003-10-02 23:31:52 +00:00
itojun 8cf5cbae01 correct arg handling in setpeer(). 2003-10-02 21:33:05 +00:00
briggs ef852c60a0 Add option to remove escape character before comment character in
fparseln().  Add escape characters before comment characters in the
few places those appear in the calendar data files.
2003-09-30 15:00:18 +00:00
wiz 37ac1db454 available, not avaliable. From miod@openbsd. 2003-09-29 09:50:21 +00:00
simonb e74fba6f88 Extra columns appeared in one line of the "Memory statistics by type"
header in '94 and '97.  Grow the other line a little so that it looks
pretty again.
2003-09-28 23:31:48 +00:00
sjg d388dcd1a3 Implement :[] modifier to allow picking a range of words out of a variable.
Also :tW and a W flag to :C and :S to allow treating value as a single word.
Add unit tests for the above, and fix some corner cases.
Based on patches supplied by Alan Barrett <apb@cequrux.com>
2003-09-27 21:29:37 +00:00
dsl 0795bf3e7a Allow -ve integer constants in menu file.
Make y == -1 => after current messages (if msg_defs.h included).
Defer menu initialisation until after post_act() called (so function can
fiddle with more things.)
2003-09-27 09:44:13 +00:00
wiz db579612f4 Definition, not defintion. From miod@openbsd. 2003-09-26 22:25:21 +00:00
dsl 556e606c59 Add a msg_row() function that returns the current screen row.
Allows sysinst to place menus below any header text.
Remove msg_*.1 man pages for all the functions (they are in the wrong place
are a fair waste of directory space).
2003-09-25 18:32:10 +00:00
matt 8e34a1750e SYS___sigaction14 -> SYS_compat_16___sigaction14 2003-09-23 18:46:33 +00:00
martin c88a5e7be4 Lint is a host tool - leave the sparc64 hack in place if compiling with
an old compiler.
2003-09-21 17:06:40 +00:00
bouyer ebd3b31bf7 Check the right error code to fallback to rquota v1 RPC.
Problem found and fix tested by Jan Schaumann.
2003-09-21 17:01:43 +00:00
takemura ffd38d4b14 Fixed array index checking to avoid segmentation fault problem. 2003-09-21 02:17:39 +00:00
matt fe365eaf9d Fix printf botch 2003-09-20 22:24:00 +00:00
christos 73bb764e22 improve formatting in the non-siginfo case, by printing the code. This is
for compatibility with the old ktrace files.
2003-09-20 00:17:44 +00:00
christos 309234359e declaration for siginfo code number to name converter function. 2003-09-19 22:49:29 +00:00
christos b612016506 Print siginfo_t information when available. 2003-09-19 22:49:02 +00:00
martin cee04f319f No need to avoid long double on sparc64 any more. 2003-09-19 16:37:59 +00:00
itojun 407df6861c realloc pedant 2003-09-19 07:08:50 +00:00
yamt 9eeb053922 redo the previous in a different way; use vm_map_min/max macros. 2003-09-17 22:06:50 +00:00
yamt 4a1d5a0332 update lockdebug detection to follow uvm_map.h rev.1.35.
(vm_map.header.{start,end} was swapped.)
2003-09-17 21:59:52 +00:00
atatat 08e63b9e97 Hey, wiz! Doesn't this need a comma? 2003-09-17 05:34:15 +00:00
itojun 8acd0a2534 have DPADD 2003-09-17 00:41:17 +00:00
wiz 99612f8f60 Bump date for previous, reword a sentence. 2003-09-15 13:17:24 +00:00
mycroft 0e1a71bba5 WRT disk commands, make the man page consistent with the program, and add the
feature I expected.
2003-09-12 17:32:29 +00:00
mycroft a84dcb3095 Allow lower case 'q' to quit. 2003-09-12 17:31:26 +00:00
cl 7272f1e99e include <inttypes.h> to get uint64_t defined 2003-09-12 12:59:34 +00:00
itojun 070ac19762 fix PR bin/22739 (netstat -nlv -f inet6 weird) 2003-09-12 10:43:42 +00:00
christos c7360d4269 eliminate unneeded use of sigcontext. 2003-09-12 00:39:38 +00:00
jmmv 6c008dec3b Add the 'e' debug flag (i.e., '-d e'): when enabled, show the "target
failed" and "command failed" messages added recently.  These introduce
too much noise when debugging some kind of problems, specially in pkgsrc.
2003-09-10 18:04:22 +00:00
jmmv 328ce86893 Document the '-d f' flag. 2003-09-10 08:44:31 +00:00
erh ac765b1532 PR# bin/22736: Allow unsorted tags file to work. If the initial binary
search fails to find a matching tag in any of the tags files, try a full
linear search.
2003-09-09 21:03:15 +00:00
lukem f741d2d094 when displaying the 'Failed command:', collapse runs of whitespace in the
command to a single space.   suggested by David Laight in private mail.
2003-09-09 16:16:02 +00:00
drochner 1a9a16338e Remove some code which makes file lookup rely on the fact that
the first two directory entries are "." and "..".
This behaviour is not required by applicable standards, and
actually not provided by "coda".
Now we get the "." and ".." into the per-directiry hash tables,
but this should not hurt.
2003-09-09 14:44:35 +00:00
wiz 3de6998961 This is a host tool: use {u,}int64_t instead of {u_,}quad_t. 2003-09-09 09:45:47 +00:00
lukem 16cddad1c8 don't free cmdStart too early, as cmd points somewhere in there and we
may want cmd for error messages.
should fix [bin/22705] from itojun@
2003-09-08 23:54:54 +00:00
wiz 47190e80b8 Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'.
From jmc@openbsd.
2003-09-07 16:22:20 +00:00
kleink cf0446b4df Add Xrefs to basename(3), dirname(3). 2003-09-06 20:56:40 +00:00
sjg 435f6fef84 Make empty() consider an undefined variable as empty,
rather than throw a syntax error.
2003-09-06 06:52:08 +00:00
wiz 91f2a1b827 Whitespace nits. 2003-09-05 06:55:46 +00:00
sjg 9ab525fdf0 Allow -V '${FOO}' to print the expanded version of FOO.
A side effect of adding and removing a -E option for the above is that
the cases in MainParseArgs are now ordered correctly?
2003-09-05 06:52:11 +00:00
itojun 0162be23d0 synchronize w/ inpcb/in6pcb change 2003-09-04 09:23:35 +00:00
lukem 5bb8036aeb Also display failed target. Given
printf "all:\n\ttrue\n\t@false\n" | make -f -
the error output now looks like:
	*** Failed target:  all
	*** Failed command: false
	*** Error code 1
instead of just
	*** Error code 1

XXX: add this support for  make -j  builds.
2003-09-02 23:40:11 +00:00
lukem ea878e8983 display the command that failed.
this is useful if the command-line had been suppressed.
2003-09-02 12:17:40 +00:00