is
2ee5b37e8f
rewind() does an implicit clearerr(), as demanded by e.g. 1003.1. Thus,
...
we have to check for writing errors before rewind()ing.
2003-12-03 13:12:53 +00:00
lukem
c09971991d
Be consistent in error messages, and don't use the <err.h> functions.
2003-12-02 05:11:42 +00:00
wiz
2f701eb7e9
Use Xr instead of Ic when suitable; NetBSD -> .Nx; add comma;
...
use Dq for a string.
2003-11-26 09:02:52 +00:00
lukem
f6d3e09d47
Provide an example for making a bootable FAT file system, and improve
...
some of the other examples.
2003-11-26 08:10:37 +00:00
rafal
8489e24b62
Make sure to also zero out structures put on local free lists so allocations
...
satisfied from those lists get zeroed memory back too.
2003-11-25 19:34:05 +00:00
christos
57a881013d
Define ecalloc() and use it when initializing data structures.
2003-11-24 21:44:37 +00:00
wiz
e0cae3a80b
Bump version for wait-for-child fix.
2003-11-21 22:05:06 +00:00
wiz
4e536677a2
Wait for decompress child before continuing.
...
Closes PR 23526 by Ron Roskens.
2003-11-21 22:04:32 +00:00
christos
717444998f
Add long-long cast for cross-build printf portability. We could be using
...
PRI* macros, but that would be too much complexity for a host tool.
2003-11-19 21:10:27 +00:00
christos
bb4ed2e755
PR/23490: Jason Thorpe: 64-bit config(8) breaks negative RTC_OFFSET
...
Fixed by preserving the format of the input number and using it to format
the output number. This avoids the -10 < n < 10 kludge.
2003-11-19 18:06:13 +00:00
fvdl
dc7e96bea0
Use int64_t to store numeric values, so that values larger than 2^32
...
may be specified in options.
2003-11-18 18:47:36 +00:00
bouyer
6f4c1c24ee
Apply patch proposted to tech-userlevel on Sun, 12 Oct 2003:
...
Remove dom_server_port from struct _dom_binding. It's never initialised
and used in only one place, where dom_server_addr.sin_port was probably
intended.
2003-11-17 21:29:21 +00:00
dbj
982688a7fd
#include <util.h>
...
this is needed by fparseln on macos/darwin and is harmless on netbsd
2003-11-17 00:02:33 +00:00
jmc
e167e82b65
Don't use L_SET as it's not portable and this is a host tool
2003-11-16 22:47:07 +00:00
dyoung
18652e3785
From Steve Woodford (scw@): fix wi(4) and wiconfig(8) on big-endian
...
machines.
2003-11-16 09:41:01 +00:00
lukem
6b429c1c8a
Disable hp300 support (again).
...
This code is not to be reenabled again until it is fixed to my satisfaction
(as a member of core and the person who ends up dealing with most of
the host tool build bugs)
2003-11-14 12:08:59 +00:00
dsl
d7d05c9ee2
roundup() write of hp300 boot code to a multiplr of the disk sector size.
...
and re-instate the hp300 code - seems to work.
2003-11-13 08:19:43 +00:00
grant
6b727993ff
use An to markup names.
2003-11-12 13:33:24 +00:00
grant
2c571f8f4d
fix a typo
2003-11-12 13:31:44 +00:00
grant
cacf2d0f45
s/netbsd.org/NetBSD.org/i
2003-11-12 13:31:07 +00:00
grant
f59b2fa174
use An and Aq for name/email address instead of \*[Lt] and \*[Gt].
...
s/netbsd.org/NetBSD.org/i
2003-11-12 13:27:39 +00:00
kleink
d9c0b26cbc
<sys/fcntl.h> -> <fcntl.h> in previous. Also, remove inclusion of
...
<sys/file.h>, which seems to be the intention of the previous change.
2003-11-12 12:06:24 +00:00
matt
f851399943
O_* live in <sys/fcntl.h> not <sys/file.h>
...
Don't use TERMCAP if HOSTPROG.
2003-11-12 02:17:53 +00:00
matt
b91abd5ac8
Don't use _PATH_UNIX on non-NetBSD hosts.
2003-11-12 01:24:15 +00:00
dsl
c948aa4152
Ensure we use the target disklabel.h, not the host one.
...
Read the disklabel directly from sector 2 instead of using DIOCGDINFO.
Expect the label to be big-endian.
Support -o append for real files.
2003-11-10 10:48:30 +00:00
fvdl
8452757ae8
Comment out hp300 references.
2003-11-10 09:19:03 +00:00
fvdl
b770006d3b
Disable the hp300 for now.
2003-11-10 09:14:58 +00:00
wiz
ee1b406595
Spell address with two d's. Inspired by similar changes in OpenBSD,
...
originating from Jonathon Gray and forwarded by jmc@openbsd.
2003-11-10 08:51:51 +00:00
uwe
57f9d3f327
Don't use PRId64 in a host tool. Not all systems have the PRI*
...
macros (e.g. FreeBSD 4.x). Cast to long long int instead.
2003-11-08 22:39:07 +00:00
dsl
6bf8729bd1
First cut of hp300 installboot, seems to DTRT on i386.
...
Maybe this code ought to know how to add a file to the LIF filesystem.
2003-11-08 16:44:35 +00:00
martti
c5a31d5210
Set ${MACHINE} and ${MACHINE_ARCH}.
2003-11-06 07:09:40 +00:00
perry
4d9c2f6d8f
Clean up the i386 examples somewhat, adding an example of upgrading
...
the boot blocks on the existing mounted root file system, and
eliminating references to bootxx_ufs.
I referenced the a partition even though most other ports seem to
reference the c partition. I don't know if that's the most correct
way to do it, but it seems to work for me and no one can tell me what
the canonical method is. I'd let someone else fix the man page but no
one seemed to want to and it really needed the example.
2003-11-02 16:04:31 +00:00
christos
4576b16a9b
Increase the buffer size for result strings. Reported by Sergey Svishchev
...
svs at ropnet dot ru
2003-11-02 08:54:06 +00:00
mycroft
e7e5d0f4f6
Don't display data for sensors with ENVSYS_FCURVALID not set.
...
Clean up a little.
2003-10-31 20:37:53 +00:00
hannken
101f03a0d5
Let it compile again on sparc/sparc64.
2003-10-31 10:09:55 +00:00
itojun
91ba57dca7
need_trigger/idx should be u_int. millert@openbsd
2003-10-31 00:31:53 +00:00
itojun
4101558b6e
validate packet length. KAME-PR-517
2003-10-30 08:46:04 +00:00
fvdl
e183d65fc4
Make a v6 socket v6-only, since rpcbind does host-based checking (all NFS
...
code already did this).
2003-10-29 17:51:33 +00:00
mrg
00b48119d0
XXX: build mdsetimage.c / installboot/ffs.c with -O0 on sun2 as GCC3
...
barfs on these for now.
2003-10-28 08:21:26 +00:00
wiz
3122f2a2f2
Grammar fixes in previous; use Nx in one place;
...
sort examples; replace < and > with \*[Lt] and \*[Gt] respectively.
Bump date for previous.
2003-10-28 00:26:17 +00:00
lukem
f4f2cda6de
minor consistency tweaks
2003-10-27 22:38:39 +00:00
lukem
c176c56887
fix typo in comment
2003-10-27 22:29:59 +00:00
cl
e05d95b990
add next68k support to installboot
2003-10-27 16:51:05 +00:00
lukem
171d653219
Overhaul how `build.sh tools' are used:
...
* Rename "config.h" to "nbtool_config.h" and
HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H.
This makes in more obvious in the source when we're using
tools/compat/config.h versus "standard autoconf" config.h
* Consistently move the inclusion of nbtool_config.h to before
<sys/cdefs.h> so that the former can provide __RCSID() (et al),
and there's no need to protect those macros any more.
These changes should make it easier to "tool-ify" a program by adding:
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
to the top of the source files (for the general case).
2003-10-27 00:12:41 +00:00
mycroft
fc2aa2b3be
Mention that we should be adding space for bitmaps.
2003-10-26 10:32:35 +00:00
mycroft
f8ab7a4906
Remove a strange multiplication which appears to be incorrect.
2003-10-26 10:31:44 +00:00
lukem
931c212f78
Now that <math.h> #defines INFINITY as HUGE_VALF (the float version)
...
(per C99 7.12 #4 ), we can't define it as HUGE_VAL (the double version).
Instead, just use HUGE_VAL directly.
2003-10-26 08:08:06 +00:00
fredb
cb7d2f351e
Use ".Fl" consistently for option flags, and mdoc-ify the rest of that
...
paragraph, while we're in there. (There's still a long way to go...)
2003-10-25 12:32:55 +00:00
fredb
87d27207dc
Clean up the flags section,
...
and note the existence of
.Fl d
Closes
PR misc/23254.
2003-10-25 12:27:08 +00:00
itojun
29d9058dc7
remove BIND crypto portion, as the license doesn't fit our policy and we do not
...
import those sources.
2003-10-22 05:56:36 +00:00