Commit Graph

7233 Commits

Author SHA1 Message Date
mrg
7ca9a9ac30 redo the former in light of making the kernel output normal 64 bit
records for 32 bit & 64 bit processes.  we still make some adjustments
when dealing with 32-bit processes, but largely things are handled the
same now.  make the code to match "netbsd32_<syscall>" in place of
plain "<syscall>" more general.
2004-01-15 14:42:09 +00:00
grant
fc6ca7735c uppercase NFS acronym 2004-01-15 03:33:20 +00:00
mrg
2ccd4840f5 - add a new flags field to the emulation vector, with one user so far
EMUL_FLAG_NETBSD32.  set EMUL_FLAG_NETBSD32 in any 32 bit on 64 bit
kernel emulation layers.
- if EMUL_FLAG_NETBSD32 is set, calculate the proper argument count.
(XXX: this should use register32_t, but that's not visible to all
builders of kdump...)

now netbsd32_ioctl(2) actually reports sane values, and other arguments
are mostly correctly printed (there are still some signed extension
issues with 32 bit numbers being displayed as "0xffffffff8xxxxxxx".)
2004-01-12 13:39:56 +00:00
jdolecek
bd4dbe8139 g/c SDEAD handling 2004-01-11 19:15:50 +00:00
dsl
4169574d6f Reindent search loop in SuffFindCmds using 'continue' and 'break' instead
of netsted ifs.  No logic change.
2004-01-11 17:24:25 +00:00
dsl
742a98df46 Change DEBUG(DIR) traces to indent subsequent filenames instead of
generating very long lines (basically changes "..." into " ...\n   ").
2004-01-11 12:22:40 +00:00
sjg
71746b839b Add unit test for ternary modifier 2004-01-09 00:56:44 +00:00
sjg
1752434408 Fix :?: modifier so that it works again. 2004-01-08 23:55:05 +00:00
atatat
a068aea23a Find the buf_map symbol, so that the submap can be labeled properly. 2004-01-06 14:01:19 +00:00
itojun
144fd6a2bf typo fix. do not go suicide by mistake. from millert@openbsd 2004-01-06 07:35:58 +00:00
sjg
345311007d Handle more complex conditional expressions.
CondCvtArg now returns NULL if it consumed all input, or a pointer
to any left overs.
2004-01-06 01:18:52 +00:00
jmmv
672f49e3a2 Let the usage message fit in 80 columns to avoid wrapping. 2004-01-05 23:35:41 +00:00
jmmv
b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
itojun
85dd54f188 KNF, from kevlo@openbsd 2004-01-05 19:20:10 +00:00
lukem
32e6b841fb Generate the copyright string from sys/conf/copyright rather than
replicating it here.  Idea from Simon Burge.
2004-01-05 03:53:10 +00:00
wiz
5b677ebe3a Bump Dd for previous. 2004-01-04 02:24:32 +00:00
wiz
86a0205ded Point people to re_format(7) instead of regex(3) for
RE description; from Greg A. Woods.
2004-01-04 02:24:07 +00:00
augustss
063a980b4e Fix typo about which mixer device is used. 2004-01-03 18:43:02 +00:00
lukem
986979b8c9 Consistently check ${TOOLCHAIN_MISSING} against "no". 2004-01-03 14:04:27 +00:00
mrg
d8d414bd77 prepend_gzip: avoid searching beyond this string 2004-01-03 02:39:18 +00:00
wiz
9b45ab8153 Remove superfluous max() macro.
Noted by Jeff Ito in PR 23932.
2004-01-03 01:18:14 +00:00
cjep
26e45f0c9a Import of our changes to grep developed in othersrc. A very
brief summary:

* Add NetBSD RCS Ids. Change to use a date based version number.
* Remove unused variables and functions.
* Move towards NetBSD code style.
* Add missing GNU options (except for --include, --exclude and
	--line-buffered)
* Bug fixes
* Bug fixes and changes from OpenBSD's src/usr.bin/grep

A full list of changes can be viewed in the NetBSD CVS repository at
othersrc/usr.bin/grep. A ChangeLog is also available at:
	ftp://ftp.NetBSD.org/pub/NetBSD/misc/cjep/grep-ChangeLog.txt

If you want to help out, please let me (cjep@) know so that we can
organise our efforts efficiently.
2004-01-02 15:00:29 +00:00
cjep
9ffc49ef33 Import of our changes to grep developed in othersrc. A very
brief summary:

* Add NetBSD RCS Ids. Change to use a date based version number.
* Remove unused variables and functions.
* Move towards NetBSD code style.
* Add missing GNU options (except for --include, --exclude and
	--line-buffered)
* Bug fixes
* Bug fixes and changes from OpenBSD's src/usr.bin/grep

A full list of changes can be viewed in the NetBSD CVS repository at
othersrc/usr.bin/grep. A ChangeLog is also available at:
	ftp://ftp.NetBSD.org/pub/NetBSD/misc/cjep/grep-ChangeLog.txt

If you want to help out, please let me (cjep@) know so that we can
organise our efforts efficiently.
2004-01-02 15:00:25 +00:00
cjep
232a750c61 Import of BSD-licensed grep by James Howard and Dag-Erling Coïdan
Smørgrav. This import is of version 0.16.
2004-01-02 14:58:43 +00:00
itojun
3d7bc49491 use snprintf, dude 2004-01-02 12:09:48 +00:00
simonb
95a042fe31 Fix off-by-one error in the malloc of the new argv in prepend_gzip(). 2004-01-02 10:09:42 +00:00
wiz
7569ff6812 Fix typo in comment. 2004-01-02 03:12:21 +00:00
wiz
75806e5a61 Sort sections. New sentence, new line. Bump date. 2004-01-02 03:01:13 +00:00
mrg
0b76a77c33 implement $GZIP handling. 2004-01-02 02:55:26 +00:00
mrg
91536bce55 note that $GZIP support is missing still 2004-01-02 01:40:59 +00:00
mrg
74e9c5767a allow HAVE_ZLIB_GZOPENFULL to be overriden externally 2004-01-02 01:34:01 +00:00
yyamano
0eb77d4bef Fix incorrect date: 1.4 and 1.4.2 release. 2004-01-01 16:50:05 +00:00
mrg
e4b2fd8644 don't dump core in the face of unknown long options. from cjep@ 2004-01-01 05:28:44 +00:00
wiz
a8763d1922 .P -> .Pp (typo fix). 2004-01-01 03:51:36 +00:00
mrg
09e6110c19 add some simple -DSMALL support. reduces the size of gzip(1) itself a by
nearly 2.5KB text.
2004-01-01 02:58:36 +00:00
mrg
ecadec7f36 port simonb's bzip2 support.
misc cleanups.
2004-01-01 02:44:09 +00:00
mycroft
a9866938b5 Welcome to 2004! 2004-01-01 00:00:05 +00:00
pk
498839ae5e Adapt to kernel buffer cache memort allocation changes.
Since the buffer headers do no longer exist as an array in the kernel anymore,
use the new CTL_KERN.KERN_BUF mib to fetch them from kernel space.

Also look at a vnode's specinfo field to properly associate an opened
block device special file with a mounted filesystem.
2003-12-30 12:52:48 +00:00
simonb
60e35b79cc Make "copy the file" (the -c option) the default behaviour. The -c option
is kept for backwards compatibility but now has no effect.

Patch from Bruce Nourish in PR bin/23874, with some minor changes by me.
2003-12-29 02:01:27 +00:00
wiz
e000293cc0 Add RCS Id. 2003-12-28 17:26:48 +00:00
wiz
6ac2a4f4db Add a BSD licensed zgrep written by me.
Much nicer than the old one, if I may say so.

Thanks go to atatat for testing and suggestions.
2003-12-28 17:26:00 +00:00
mrg
0889156103 GNU gzip compatibility: don't let "gzip -dc" (zcat) operate on non-gzip
files by default.  -f must be used.
2003-12-28 13:42:28 +00:00
mrg
f13009df25 fix an error in the previous 2003-12-28 13:40:56 +00:00
mrg
7530d0a53d zdiff is also zcmp (from wiz) 2003-12-28 13:37:23 +00:00
wiz
98018344b7 No argument necessary after .Nm; add missing comma to enumeration. 2003-12-28 12:49:41 +00:00
wiz
28c2ebe997 Use more macros. 2003-12-28 12:48:03 +00:00
wiz
18a6b94f65 Uppercase CRT. 2003-12-28 12:47:52 +00:00
wiz
3a92ef57da Add RCS Id. 2003-12-28 12:43:43 +00:00
mrg
ff7efa72db install gzexe, zdiff, zforce, zmore and znew scripts and manual pages.
XXX: now only missing zgrep.
2003-12-28 12:37:42 +00:00
mrg
5ddb436023 import openbsd z* scripts and manuals. 2003-12-28 12:31:55 +00:00