dsl
273835431b
Allow menu boxes to be forced down the screen if the message text is long.
2004-02-29 23:13:23 +00:00
junyoung
85b95abd1e
pidhash and pgrphash should have been removed from here as well when the
...
new pid allocator was committed 3/2003.
2004-02-28 05:14:55 +00:00
enami
a612fb0b9d
Replace rest of exit status `1' with EXIT_FAILURE.
2004-02-28 02:42:45 +00:00
enami
698c01aba0
Fix usage:
...
- ktrace(1) takes -s.
- ktruss(1) takes -l.
- -C/-c and commands are exclusive.
- make output fits 80 column.
2004-02-28 02:22:31 +00:00
enami
8a1309b72f
- Make ktruss(1) works as expected when -c or -C is specified.
...
- Include pid or file descriptor in error message when
ktrace(2)/fktrace(2) failed.
- Remove unnecessary cast.
2004-02-28 01:43:07 +00:00
enami
4d34b523bc
Fix whitespace usage.
2004-02-28 01:37:56 +00:00
enami
3f98504ee8
Fix whitespace usage and remove unnecessary semi-colon.
2004-02-27 23:06:02 +00:00
enami
6a6547d143
We can't access array[sizeof(array) / sizeof(array[0])].
2004-02-27 22:48:56 +00:00
enami
35c4c5bed3
Calculate the width again if we start newline at tab character, since
...
start column changes.
2004-02-27 22:44:38 +00:00
enami
1f8c4c1f20
Rototill for less confusing output, especially when multiple processes
...
are traced and blocking operation is involved (previously, some system
call isn't displayed or displayed as if it is issued by other process).
2004-02-26 22:00:57 +00:00
wiz
f05e6f1a3a
occured -> occurred. From Peter Postma.
2004-02-24 15:12:51 +00:00
jdolecek
b142758840
sort iconv -l output
2004-02-21 09:16:25 +00:00
sjg
a3cc11808b
Fix :M so that modifiers in nested variables don't terminate parsing
...
early. Add a unit-test to verify it works and keeps working.
Re-jig the unit-tests so that all are sub makefiles.
2004-02-20 09:03:26 +00:00
atatat
caea20e952
Add PTRTOUINT64() and UINT64TOPTR() macros to sys/sysctl.h for use by
...
kern.proc, kern.proc2, kern.lwp, and kern.buf.
Define more MIB for kern.buf so that specific buffers can be selected
(only all/all is supported right now), and use a 32/64 bit agnostic
structure for communcating buffer information to userland.
Convert systat to the new kern.buf method.
Clean up the vm.buf* handling a little. There's no actual need to
record the dynamically assigned OIDs, since sysctl_data can tell us
what we're looking at.
Oh, and fix a typo in a comment.
2004-02-19 03:56:30 +00:00
jdolecek
de243242be
insertcol() may insert up to two items to clist, so allocate memory accordingly
...
this fixes sort regression test 28A and 28B
2004-02-18 20:44:36 +00:00
he
2f8028b1b0
Fix mismatched type error in fropen() usage by converting return
...
type of zread() from ssize_t to int.
2004-02-18 18:29:07 +00:00
wiz
15d66087e7
Mention compress(1) support, and add bzip2(1) and compress(1) to SEE ALSO.
...
Bump date.
2004-02-18 09:16:27 +00:00
mrg
91d1fa9407
support decompressing "compress"ed files. from rtr@ with a few minor edits
...
from me. code in zuncompress liberally borrowed from usr.bin/compress.
2004-02-18 08:19:48 +00:00
wiz
9ea670a934
Some fixes and formatting changes from jmc@openbsd.
2004-02-17 20:41:49 +00:00
jdolecek
c8e0ab671d
fix parsing of some +POS -POS variants, as pointed out by sort regression
...
tests
2004-02-17 20:17:38 +00:00
jdolecek
bf96399c09
initialize malloc()ated memory
2004-02-17 19:09:36 +00:00
jdolecek
3b6344c769
ftpos pointer was not updated when fldtab was reallocated; drop completely
...
in favour of an index counter
fixes bin/24449 by Jun-ichiro itojun
2004-02-17 18:59:13 +00:00
jdolecek
d8c927fdbf
fldtab[] needs to have one extra element - this marks end of array
...
adresses part of PR bin/24449 by Jun-ichiro itojun
2004-02-17 13:52:56 +00:00
itojun
aa7ee5b5c7
use safer realloc idiom
...
memset new region got by realloc
2004-02-17 02:38:47 +00:00
itojun
909cd63c63
safer realloc idiom
...
minor knf
2004-02-17 02:31:33 +00:00
itojun
0795537158
initialize fldtab
2004-02-17 02:28:29 +00:00
itojun
7551fb024f
do not use long for file offset, use off_t. otto@openbsd
2004-02-16 21:57:04 +00:00
sjg
79e5bb77fc
Use ${.MAKE:S,^./,${.CURDIR}/,} so that when someone does
...
./make test
it works. Note use .CURDIR rather than .OBJDIR since the later
_may_ not always be correct (eg. symlink in .CURDIR for make).
2004-02-15 19:05:45 +00:00
soren
c87f3766c2
Make usage() not overflow 80 char lines.
2004-02-15 17:03:30 +00:00
jdolecek
9f77432368
remove compile-time limit on number of -k options, allocate necessary
...
structures as-needed
2004-02-15 14:22:55 +00:00
jdolecek
87c48f115e
rewrite fixit() to duplicate less code, and comment the contents better;
...
also removes compile-time dependancy on ND constant
2004-02-15 14:19:22 +00:00
jdolecek
002b9278dc
make sure zero is recognized as regular number in number(), and thus sorted
...
properly with -n
fixes PR bin/20259 by Giles Lean, PR bin/20542 by Peter Seebach, and
part of PR bin/24316 by MLH
2004-02-15 12:41:25 +00:00
jdolecek
afac62bca7
g/c redundant setfield() prototype
...
clear setcolumn() somewhat - use strtol() instead of sscanf(), and
simplify flag setting code
2004-02-15 12:35:26 +00:00
jdolecek
95b7d83c21
fix -Wunitialized warnings
2004-02-15 11:54:17 +00:00
jdolecek
33f354551b
fix some cases of use of unitialized variables
2004-02-15 11:52:12 +00:00
wiz
e3fc4b66c3
Spell the plural of suffix "suffixes", not "suffices".
...
Inspired by PR 24400 by Todd Vierling.
2004-02-13 17:56:17 +00:00
wiz
d20841bb64
Uppercase CPU, plural is CPUs.
2004-02-13 11:36:08 +00:00
wiz
f582138c1b
Uppercase CPU.
2004-02-13 10:11:56 +00:00
matt
fc5f7e902b
Deal with backing out of changes in:
...
http://mail-index.netbsd.org/source-changes/2004/01/29/0027.html
2004-02-10 01:31:41 +00:00
itohy
0822f845c4
Use /etc/locate.conf for configuration, per discussion at tech-userlevel.
2004-02-06 14:29:51 +00:00
wiz
56bb942672
Bump date; uppercase POSIX.
2004-02-05 23:51:46 +00:00
ross
3856fab870
Briefly document the posix command line order and add that this
...
is (unfortunately) not enforced.
2004-02-05 23:40:52 +00:00
ross
380bdcb7fb
Parse args with open code to eliminate use of getopt(3).
...
No functional change under NetBSD.
Restarting a getopt(3) loop is an extension to the posix getopt(3)
behavior and is not portable.
Fixes tools build (tools/groff) under Cygwin.
2004-02-05 23:31:34 +00:00
wiz
c732f0a853
Use more mdoc macros; new sentence, new line; bump date for previous.
2004-02-04 00:37:45 +00:00
chuck
51659857a7
add parent directory search for make as discussed on tech-toolchain.
...
- new dir.c function: Dir_FindHereOrAbove:
Search for a path in the current directory and then all the directories
above it in turn until the path is found or we reach the root ("/").
- add hooks to use it in main.c for -m and syspath (compiled in
_PATH_DEFSYSPATH and $MAKESYSPATH).
- updated man page
2004-02-03 19:25:29 +00:00
lukem
f0cea2f5e2
Fix bug when calculating digest when copying from dev/null.
...
Problem noted by Matthias Scheler and Tomasz Luchowski.
2004-02-02 23:25:36 +00:00
christos
301d580988
Fix reversed logic (decimal argument passed in output_long, where it expects
...
hex). Change tests to <= 9 to a small(v) macro, so that negative numbers fail
too consistently.
2004-02-02 06:27:56 +00:00
christos
8e65a43404
Include iosfwd instead of iostream, since it is smaller; from Marc Espie.
2004-02-01 21:24:02 +00:00
snj
a6b397d6de
New sentence, new line. Kill some extra whitespace. Mention calendar.netbsd
...
and calendar.lotr. Okayed by wiz.
2004-02-01 01:03:57 +00:00
snj
54d71a44a7
Fix some typos and spelling errors. Okayed by wiz.
2004-02-01 01:00:43 +00:00