Commit Graph

6159 Commits

Author SHA1 Message Date
chs ffccbdabce fix a printf. 2002-09-21 04:30:42 +00:00
itojun 129dc41857 make sure to use %s on printf format string. xs@kittenz.org 2002-09-20 21:01:31 +00:00
mycroft 05abee23d9 select() -> poll(), nanosleep() 2002-09-19 16:45:57 +00:00
lukem 2c16ea6f7e use NETBSDSRCDIR as appropriate 2002-09-19 11:31:21 +00:00
lukem 3bcb486fa2 - revert change to accessing ../man/ includes as <man/xxx.h>; it's
ugly to add -I.../usr.bin to do this.  instead, add appropriate
  comments in the source to where the files are actually coming from.
- use NETBSDSRCDIR as appropriate
- some minor makefile delint
2002-09-19 11:29:54 +00:00
atatat 7266746efe Provide names for the map and submaps when doing recursive verbose
ddb-style output.
2002-09-19 02:43:51 +00:00
mycroft e653ca9e0b sleep() -> nanosleep() 2002-09-18 23:24:13 +00:00
lha 4fa2032edc uppercase the lkm kernel-userspace dev macros and prefix them with LKM_
make modload print the bdev and cdev major when its a dev lkm
2002-09-18 22:59:36 +00:00
mycroft 4243014e02 Oops; fix array size. Nice compiler warning... not. 2002-09-18 20:57:02 +00:00
lha a8882e9d5c add missing /usr.bin/ to the include path, fixes last commit 2002-09-18 20:55:24 +00:00
lha 35e64a7b76 remove extra $ from previous commit 2002-09-18 20:50:22 +00:00
mycroft 3ead3ad29b select() -> poll() 2002-09-18 19:54:25 +00:00
mycroft 0d30d3ce37 Duh, generate the pollfd arrays outside of loops, not that it really matters. 2002-09-18 19:48:58 +00:00
mycroft 6053f5543a select() -> poll() 2002-09-18 19:40:34 +00:00
skrll 5152db4b16 Update error message after recent changes. 2002-09-18 19:29:12 +00:00
mycroft 855996c546 Remove an old comment. 2002-09-18 19:21:41 +00:00
mycroft 675b884ce8 select() -> poll() 2002-09-18 19:16:09 +00:00
mycroft 1bf9916dae select() -> nanosleep() 2002-09-18 19:14:58 +00:00
lukem 5d4973fe97 makefile delint. use NETBSDSRCDIR as appropriate 2002-09-18 14:00:33 +00:00
lukem 09ccdda836 rcsid fix 2002-09-18 13:50:52 +00:00
thorpej 3b08abd277 * Eliminate the USE_NEW_TOOLCHAIN variable. Instead, split it into
two variables:

  TOOLCHAIN_MISSING -- set to "yes" on platforms for which there is
  no working in-tree toolchain (hppa, ns32k, sh5, x86_64).

  EXTERNAL_TOOLCHAIN -- if defined by the user, points to the root of
  an external toolchain (e.g. /usr/local/gnu).  This enables the cross-build
  framework even for TOOLCHAIN_MISSING platforms.

  If TOOLCHAIN_MISSING is set to "yes", MKGDB, MKBFD, and MKGCC are all
  unconditionally set to "no", since the bits are not there to build.

  If EXTERNAL_TOOLCHAIN is set, MKGCC is unconditionally set to "no",
  since the external toolchain's compiler is not in-sync with the
  in-tree compiler support components (e.g. libgcc).

* Set MACHINE_CPU much earlier in bsd.own.mk, so that more tests in
  that file can use it.
2002-09-17 23:18:25 +00:00
atatat 4d2c9bf2c0 Make error messages a little more informative. Add -R option to
recurse into submaps (a kernel thing) as suggested by Chuck Cranor,
with the output from these entries indented.  Clean up and rework code
slightly, to make the recursion task much easier.  Also, add a note to
the BUGS section in the man page thats mentions that stuff "just won't
work right" unless pmap is reading from the proper kernel.
2002-09-17 19:54:28 +00:00
thorpej e1ed089ecd -path is an extension -- say so. 2002-09-16 19:24:59 +00:00
briggs 7873bb1aba Also HAVE_STDINT_H if defined(__linux__). 2002-09-16 14:12:04 +00:00
christos b3ac19283d Make uptime show the correct number of users. 2002-09-16 04:02:21 +00:00
mycroft 2f85ba247c uptime(1) is NOT supposed to always say `1 user'. 2002-09-16 01:49:06 +00:00
thorpej 55153619f4 Make the tn3270 host tools build on non-BSD systems. Slightly
kludgy, but saves a major overhaul.
2002-09-15 01:27:44 +00:00
thorpej 22eefcb754 Don't include <sys/cdefs.h> directly. On a NetBSD system, it will be
pulled in by <sys/types.h>, and on a non-NetBSD system (host tool case),
it doesn't really matter (since it's just for the __RCSID macro).

There are larger problems with mkmagic's host tool-ness.  A PR has been
filed.
2002-09-15 00:50:18 +00:00
thorpej 34269821f1 If MAKE_BOOTSTRAP and HAVE_CONFIG_H, pull in "config.h" so that
we get the correct _PATH_BSHELL definition.
2002-09-14 15:23:49 +00:00
thorpej fece31c9b7 Get MKTEMP from the environment. 2002-09-14 05:00:58 +00:00
thorpej 922525072e Allow mktemp to be built as a host tool. 2002-09-14 04:26:23 +00:00
mycroft 64513b2399 config.[ch] -> manconf.[ch] 2002-09-13 20:27:52 +00:00
mycroft c2fdc50a4d config.[ch] -> manconf.[ch] 2002-09-13 20:16:40 +00:00
tron 735b375648 Don't try to print negative offset in module structure. 2002-09-13 17:16:00 +00:00
thorpej b6f409ee2e Pull in config.h when building has a host tool. 2002-09-13 16:34:56 +00:00
thorpej 7c96dd1581 Rename man/config.{c,h} to man/manconf.{c,h}, so we don't have to
worry about problems including "config.h" when building as a host
tool.
2002-09-13 15:56:37 +00:00
atatat ba9dd2c172 Add verbose support to the -l output, tweak verbose support for -d
output, and tweak the man page (running pmap(1) vs. the kernel_map can
have a *very* visible effect).
2002-09-13 15:32:49 +00:00
christos baa7f9f49e Minimize diffs with my C99 capable version [this commit does not include
C99 support.

- turn lerror() into a macro so that the filename and the line number of the
  error are printed before we abort.
- recurse in type printing to provide the proper type name.
2002-09-13 14:59:24 +00:00
tron 57a909560e Adapt to changes in "rtld.h". 2002-09-13 08:40:05 +00:00
wiz 1e2e8ea0ca Sort options. Bump date for -8 addition. 2002-09-12 10:06:12 +00:00
kim b3399fd721 Implement 8-bit pass-through. 2002-09-12 01:31:41 +00:00
joda a55a6f7fef now gone 2002-09-10 22:44:28 +00:00
joda aee72c5968 don't build kf; there are security issues with heimdal 0.4e, and we
don't actually need it
2002-09-10 22:16:22 +00:00
kim dfb75c5ad4 Add back locale support for data display.
We only enable 8-bit output for known single-byte locales, currently
ISO8859-*.  For all other locales the program output is unchanged.

RFC-1288 recommends that administrators have a mechanism to enable
characters greater than ASCII 126.  A suggested solution is an
environment variable.  The environment variables of choice here are
LC_CTYPE and LANG.

Thanks to Martin Husemann <martin@duskware.de> for the idea on checking
for known single-byte locales, to Johan Danielsson <joda@pdc.kth.se> for
checking RFC-1288, and to Jun-ichiro itojun Hagino <itojun@iijlab.net>
for insisting on retaining security for multi-byte locales.

If you experience any problems with these changes, please send me email
describing the problem and how to repeat it.  I'd rather try to fix the
problem than have this change reverted.  Thanks!
2002-09-10 03:02:40 +00:00
ross 96e43b2c89 + rephrase a bunch of stuff
+ fix totally bogus -i text
2002-09-02 04:40:03 +00:00
atatat 0fb6b57457 Unterminated comment. Grr... 2002-09-01 20:37:28 +00:00
atatat 692fefdd0e Move pmap(1) to /usr/bin (from /usr/sbin) where it belongs. 2002-09-01 20:32:43 +00:00
itojun 50d422c24f e_os.h is not part of exported openssl interface, so don't install it into
/usr/include/openssl (e_os.h has an explicit comment about it).  it obviously
is a bug in openssl 0.9.6 Makefile.
based on openssl 0.9.7 snapshot.
2002-08-31 10:46:36 +00:00
kristerw 29301c43b8 Remove bogus output of '\n' when using -q. 2002-08-31 07:26:17 +00:00
itojun 34eb7e98f4 no need for -I/usr/include/openssl (in fact, it is discouraged) 2002-08-29 14:35:45 +00:00