Commit Graph

6514 Commits

Author SHA1 Message Date
tshiozak 4f31053655 rename _CTYPE_x to _RUNETYPE_x for avoiding compile error on FreeBSD. 2003-03-10 21:18:50 +00:00
tshiozak 75e29ba505 some changes around mklocale:
- clean up cpp directives.
- stop including rune.h from mklocale.
- stop using _BSD_RUNE_T macro.  instead, use int32_t directly in runetype.h.
- move _DEFAULT_INVALID_RUNE to runetype.h.
These were for historical reason on porting rune from FreeBSD,
but it seems that these are no longer reasonable but troublesome
under the current NetBSD build system.
additionally:
- runetype.h -> locale/runetype.h in mklocale, because this might conflict
  to FreeBSD's one.
2003-03-10 20:41:29 +00:00
tshiozak 947243ba1e revoke using PRIu32 macro and add fallback for UINT32_C macro,
because these do not exist on rather older systems.
XXX: I wonder someone will add them to tools/compat.
2003-03-10 09:37:04 +00:00
lukem 8bfad4ad7a Use sleep(1) instead of usleep(1000000) to sleep for a second, since
usleep() doesn't support an argument >= 1000000.
Problem noted & fix provided in [bin/20644] from Dave Huang.
2003-03-10 08:04:15 +00:00
grant 7d55c4c504 fix a bogus error message when given a HTTP URL with a trailing
slash.
2003-03-07 08:13:48 +00:00
thorpej ae754e0c76 Make hexdump a host tool. 2003-03-07 01:14:30 +00:00
jrf c93c016461 Patch from PR 12304 submitted by Matthias Buelow mkb@moghedien.mayn.de.
Patch reviewed by Itojun itojun@netbsd.org.
2003-03-05 01:10:46 +00:00
tshiozak 498e0550aa use UINT32_C and PRIu32 macros instead of 0x...U and %u. 2003-03-03 08:49:15 +00:00
tshiozak 8bc967f427 sync with the last change of runetype.h; %ld -> %u. 2003-03-03 08:30:21 +00:00
wiz b96edb2bae Bump date for RMID support. New sentence, new line. 2003-03-03 07:22:58 +00:00
wiz 2bc4fd781d Sync usage with options; sort option string; handle N instead of
non-existing U option.
2003-03-03 07:18:37 +00:00
wiz 5f20c96d59 Bump date. Sort options, sort SEE ALSO. 2003-03-03 07:17:35 +00:00
itojun 424153ef69 TF_PROTO1/2 mixup. from itou makoto 2003-03-02 01:59:06 +00:00
enami 3d76616fbe No need to invoke the make command so many times. It can handle all
the target specified in command line.
2003-03-01 08:36:05 +00:00
thorpej 3640957b38 If the NetBSD version note looks reasonable, parse it and display the
info.
2003-02-28 18:24:58 +00:00
lukem c84f3c0dd2 crank dates 2003-02-28 09:54:51 +00:00
lukem e7d3948066 crank version 2003-02-28 09:54:20 +00:00
lukem a44810ddeb Crank dates on TNF copyright.
Remove UCB & WIDE copyrights; the progressbar functionality was
written entirely by me under the TNF copyright.
2003-02-28 09:53:49 +00:00
matt 1800f61318 #undef TYPE(a) is not legal. Change to #undef TYPE /*(a)*/ 2003-02-28 05:49:42 +00:00
matt 80623b55d4 Remove unused printf argument. 2003-02-28 05:48:58 +00:00
matt ef69aa80b5 Add missing include 2003-02-28 05:48:25 +00:00
lukem 7106b560a6 add a cast to appease SUNWspro cc. noted by grant@ 2003-02-28 04:06:55 +00:00
enami acf5c11cc1 Don't use uninitialized variable. 2003-02-27 08:07:14 +00:00
atatat 6d45c1cd99 Clean up code in places, add some more (possible) submap names, make
better use of the submap names when dumping the kernel map, clean up
the "interface" between the main and LOCKDEBUG dependent pmap modules,
and make the heap identification work better.
2003-02-27 04:10:36 +00:00
christos 0d2dc54013 keep track of the two proc entries significant to the utmp entry. The one
indicated by the pid in struct utmpx [or ftpd hack], and the one that is
associated with the controlling tty, is in the foreground process group,
and has most cpu. If the second one exists, use that one, else use the first
one.
2003-02-26 19:10:28 +00:00
fredb 1709947012 Print the command in parenthesis, if kvm_getargv2() returns no
arguments. This lets "xterm -e command" display as "(command)".
Reviewed by christos.
2003-02-26 19:01:54 +00:00
christos 3a6ece1341 don't trust sizes comming in from the elf file. 2003-02-26 18:36:24 +00:00
christos e8ec3465f7 make this compile 2003-02-26 18:35:42 +00:00
christos d85507235b fix a memory allocation issue. 2003-02-26 18:31:21 +00:00
christos 8399be1bba keep track which entries are utmp and which are utmpx, so we can print
them on the stale message.
2003-02-26 15:04:10 +00:00
christos c7d4de107a - Remove SUPPORT_FTPD_UTMP flag. Enable it only for utmp entries, utmpx does
not need it since it can get the pid from the utmpx structure.
- If the line is not found, and the pid is present (from utmpx) use that to
  determine the process information for that particular entry.
2003-02-26 15:01:09 +00:00
sjg cc9d340ac8 Add -B to MAKEFLAGS so that it propagates to sub-makes.
This allows one to use -j1 -B at some point in a tree to
overcome a -jN (which is the main reason one would use -B).
2003-02-26 08:59:12 +00:00
matt 65e5548a17 Add MBUFTRACE kernel option.
Do a little mbuf rework while here.  Change all uses of MGET*(*, M_WAIT, *)
to m_get*(M_WAIT, *).  These are not performance critical and making them
call m_get saves considerable space.  Add m_clget analogue of MCLGET and
make corresponding change for M_WAIT uses.
Modify netinet, gem, fxp, tulip, nfs to support MBUFTRACE.
Begin to change netstat to use sysctl.
2003-02-26 06:31:08 +00:00
wiz 990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
dsl a5f7364038 Fix the output of NUL bytes within %b formats.
(Approved by Christos)
2003-02-24 14:42:27 +00:00
dsl 9f46bb077a Create subwins that end one line from the bottom of the screen even
after the window is resized.
2003-02-24 10:10:00 +00:00
jhawk c3ac22a6a8 markup: the ";" for -exec, -ok, and -execdir is a seperate word from
the last argument
2003-02-23 20:01:31 +00:00
jhawk 93fccbf4ba eleminate forward decl of 'struct stat' 2003-02-23 14:43:25 +00:00
jhawk d44b698645 delint: trailing commas in enum definitions are prohibitted
knf: instantiate macros with #define<TAB>, not <SPACE>, and also align.
2003-02-23 14:41:30 +00:00
atatat 87437f0b78 Oops. Missed some possible UVM_ET_IS*() macro uses. 2003-02-23 01:08:29 +00:00
atatat fb9b07a6a7 Properly print the VM_MAP_TOPDOWN flag if it is set, document the
VM_MAP_TOPDOWN flag (and the VM_MAP_DYING flag, since it never got
documented before), minor tweak to one of the examples, and use the
UVM_ET_IS*() macros instead of doing the same work manually.
2003-02-22 17:45:04 +00:00
atatat ebe81c7ec3 Fix the sample output in one of the examples 2003-02-21 18:50:10 +00:00
jmmv 7eda74b7a6 Add missing dot to the `-' option. Ok'ed by wiz. 2003-02-21 11:17:50 +00:00
simonb 81dc935e33 Show the last "track" as the start of the lead-out area instead of a
bogus track number.  Remove a magic number and (slightly) simplify the
TOC entry display function a little.
2003-02-19 12:55:58 +00:00
perry b88a15cf9c Add some missing voids. 2003-02-18 19:21:33 +00:00
msaitoh f81acfd9b4 The name of the working directory for each prog is converted by "s/-/_/".
The directory list to be removed (i.e. make clean) has to be set with
the converted name.
2003-02-18 18:12:07 +00:00
dsl 34e0475375 Pivot the disk stats into extra lines if they run out of columns
(approved by christos)
2003-02-18 14:55:05 +00:00
dsl c4ccc4eaf4 Fiddle with screen layout to generate room for longer labels on the
interrupt count fields.
(approved by christos)
2003-02-17 19:30:33 +00:00
augustss 34592076d4 Make it play RMID files as well. From bin/20388, Quentin Garnier. 2003-02-17 18:00:27 +00:00
christos 8475773db1 Add wtmpx support. 2003-02-17 15:08:57 +00:00