Commit Graph

8960 Commits

Author SHA1 Message Date
apb 09ba0a6ca8 Replace local swap16, swap32, and swap64 inline functions with the
NetBSD conventional bswap16, bswap32, and bswap64 functions or macros.

In a non-tools build, include <sys/types.h> and <machine/bswap.h> to
get definitions of these functions.  In a tools build, rely on the
functions or macros being provided by nbtool_config.h, but don't incluce
<machine/bswap.h> (which might not exist in a cross build).

This should address a problem building on OpenBSD, which has swap16,
swap32, and swap64 macros that conflicted with the local definitions.
The problem was reported by Alexander Bluhm, but this patch is quite
different from the one he suggested.
2009-03-06 19:05:11 +00:00
christos 41802a0069 fix horrible memory trashing. 2009-03-04 18:22:14 +00:00
nonaka 674f8b31d6 do WSMOUSEIO_SETVERSION when WSMOUSEIO_SETVERSION is defined. 2009-03-03 18:43:15 +00:00
apb c163e7100a As long as we don't yet have a working TOOL_GREP,
fgrep is more portable than grep -F.
2009-02-26 10:32:43 +00:00
apb b56c1a749f In file_exists_exact(), fix an incorrect test of "1" instead of "$1",
and improve the comment explaining what this function does.
2009-02-26 08:25:50 +00:00
apb 6eefb4e5ea "grep -q" is not portable; use "grep >/dev/null" instead. Also add a
comment saying that postinstal is invoked during a cross build.
2009-02-26 08:05:09 +00:00
wiz 2dba01f8d6 Make "sftp" a link. 2009-02-26 07:14:36 +00:00
sketch bb0a3b607e Use awk and grep host tools where required. 'build.sh release' now works
on Solaris (but only with HOST_CC=/usr/sfw/bin/gcc for now).
2009-02-25 20:38:30 +00:00
pooka 928c35bfce add caveat about info displayed by df(1) 2009-02-25 18:05:32 +00:00
dyoung ac7c88b5d2 Look for MAKEDEV.local in both ${SRC_DIR}/dev/ and ${SRC_DIR}/etc/,
so that 'postinstall check makedev' works whether the sources told
by the -s argument are a NetBSD source tree, etc.tgz, or a DESTDIR.
2009-02-25 01:11:50 +00:00
sketch 7ce9d1c8ea Make 'build.sh tools' work with the Sun Studio compiler, although bugs in
some of the generated tools still prevent building a full release using them.
2009-02-24 22:25:24 +00:00
pooka 72d8b8b617 Support statvfs@openssh.com extension where available. Makes df(1)
return something other than just 0.
caveat: statvfs is done for the mountpoint path, so might not give
the truth about a directory inside the mountpoint.
2009-02-23 18:43:46 +00:00
yamt 9287e91c00 do_makedev: look at a correct directory for MAKEDEV.local 2009-02-22 15:27:44 +00:00
ad 33774d3216 Report LB_MISC events, for one-off instrumentation. 2009-02-22 15:08:58 +00:00
christos b86f9ffb61 CID 4393: plug memory leak. 2009-02-18 20:06:27 +00:00
is 11927f0b16 synchronize error flags with own comment and with traceroute, as discussed
on tech-net.
2009-02-16 20:36:11 +00:00
reinoud 9277c1a831 Remove idd `tag' left over from importing this file into NetBSD.
Thanks Soren :)
2009-02-16 06:46:54 +00:00
pooka 501138e80e regen: putter in synopsis and note about experimental status 2009-02-15 18:01:26 +00:00
pooka 0838b02036 * include "pseudo-device putter" in synopsis as requested by hubertf
* note that rump p2k utilities are currently experimental (noted
  already on the rump manpages, but better note it here also)
2009-02-15 18:00:16 +00:00
wiz 845915475d New sentence, new line. Bump date for previous. 2009-02-15 00:01:19 +00:00
ahoka 4f97e87b0c Add support for showing temperatures in Kelvin. 2009-02-14 16:08:22 +00:00
abs 515e52158b Convert more MACHINE tests to MACHINE_ARCH 2009-02-14 13:50:50 +00:00
uebayasi a6f7a3d986 Disable debug. 2009-02-13 16:16:26 +00:00
uebayasi a6533b8fed Comment out CFLAGS+=-g. 2009-02-13 16:02:05 +00:00
pooka 1ca3ac22a3 regen: note that vnconfig not required 2009-02-10 15:08:40 +00:00
pooka 108fcd8ae3 Note that the rump file servers do not require use of vnconfig when
mounting images.  Suggested by apb
2009-02-10 15:04:35 +00:00
mschuett 499d95ff35 PR/40563: Takahiro Hayashi: syslogd(8) refers freed pointer on exiting 2009-02-06 21:09:46 +00:00
plunky fe9facd3bf use some size_t instead of int 2009-02-04 19:24:18 +00:00
uebayasi 9281ce080c Make nbpwd_mkdb always generate version 1 by deciding version depending on
sizeof(pw_change).  No objection on tech-userlevel.
2009-02-02 04:24:18 +00:00
wiz 7eff20f8db New sentence, new line. 2009-02-02 03:27:37 +00:00
hubertf 47da095c98 -c: make it clear where the file hierarchy starts
-I, -E: they also work with -C, not just with -D
2009-02-01 22:37:22 +00:00
hubertf dde9e1886b When {MD5,RMD160,SHA1,SHA256_,SHA384_,SHA512_}File fail, use errno
to print what's actually wrong
2009-02-01 22:36:24 +00:00
wiz e0de6d25c7 Bump date for previous. 2009-02-01 12:59:05 +00:00
yamt 168debd7ec note some options' optarg in DESCRIPTION as well. 2009-02-01 08:12:25 +00:00
yamt ca6221a5b3 make -o option consistent with others. 2009-02-01 07:55:42 +00:00
plunky 8f0a91453b Fix a problem which prevents remote parties connecting to our NAP service,
we got the services mixed up.
2009-01-31 07:21:15 +00:00
ad 47afbfb94e cpuctl list: map hardware id after getting state. avoids screwed up display
when ci_cpuid != cpu_index()
2009-01-28 22:37:09 +00:00
jklos c259dad90f Added MAKEDEV.local to postinstall's makedev check. Upgraded systems were
not getting an updated MAKEDEV.local file.
2009-01-26 07:40:01 +00:00
yamt efeccfb5bc fix an error message. 2009-01-26 05:53:10 +00:00
plunky 8d16a25319 The "Service Availability" value in the SDP record should be a number
from 0-255 indicating how much availability the service has, rather
than the "Load Factor (0-7)" as used in the "Class of Device" setting.
2009-01-24 17:29:28 +00:00
mschuett c998ee30ad PR/40438: Takahiro Hayashi: syslogd(8) refers freed area 2009-01-22 21:10:52 +00:00
lukem 64d3f79556 sign-compare fixes for amd64 2009-01-22 10:45:35 +00:00
bjh21 9d5675794b Bump date for last change. 2009-01-20 20:47:25 +00:00
christos 962e67cdc0 fix version ioctl 2009-01-19 00:53:15 +00:00
he fddc3457b2 Change the use of formally undocumented features, which have now been
made to fail.  Specifically, change
.ifdef(SYMBOL) -> .ifdef SYMBOL or .if defined(SYMBOL),
and corresponding for .ifndef.

Also correct one error in lib/libm/Makefile (.ifdef (${MKCOMPLEX} != "no")?!?).
2009-01-18 20:42:11 +00:00
lukem c5eb4ab601 fix -Wsign-compare issues 2009-01-18 11:56:51 +00:00
lukem b118202501 fix -Wsign-compare issues 2009-01-18 10:39:17 +00:00
lukem 7e0b2295e7 fix -Wsign-compare issues 2009-01-18 10:35:26 +00:00
lukem 3cafe960ea fix -Wsign-compare issues 2009-01-18 10:10:47 +00:00
lukem 29f2e1ce01 fix -Wsign-compare issues 2009-01-18 10:01:34 +00:00