Commit Graph

71660 Commits

Author SHA1 Message Date
itojun a59f02771a GNU gettext 0.10.35 2000-10-31 14:45:40 +00:00
itojun 9ae3f98360 remove a line for debugging 2000-10-31 14:43:52 +00:00
lukem 4e9651bacd - use opendisk(3) instead of homegrown solution
- separate items in -s output with commas; much easier to read
- add maxOutstanding (aka queue len) to -s output
- sort #includes (per knf)
2000-10-31 14:18:39 +00:00
mrg f601feea40 fix a bug in the call to srandom(): xor time() with getpid(), don't add them!
now fortune(6) run in an unending loop does not appear to show the same
fortunes over and over and over.
2000-10-31 13:27:56 +00:00
lukem afc75b9e6d Don't getenv $HESIOD_CONFIG or $HES_DOMAIN if issetugid().
Initial problem noted by Danny Braniss <danny@cs.huji.ac.il>
via Jacques A.  Vidrine <n@nectar.com>
2000-10-31 12:47:21 +00:00
he 70a24dc7c0 Change from sprintf() to snprintf() where we may print externally
supplied data of unknown length.
Changes adapted from FreeBSD-SA-00:61.
2000-10-31 12:17:07 +00:00
fvdl ddfa644677 -c 2 -> -c 3 2000-10-31 11:19:50 +00:00
itojun 78c48ba46f remove confusing goto. sync with citrus 2000-10-31 11:08:18 +00:00
itojun 435b1e303d fix read(2) return value validation. sync with citrus 2000-10-31 11:05:22 +00:00
itojun c70cd35ba7 bind_textdomain_codeset() always fails. sync with citrus 2000-10-31 10:53:49 +00:00
itojun 8fcca1eaa3 do not compile libintl on our own. we now have /usr/lib/libintl. 2000-10-31 10:50:46 +00:00
itojun caf7b11063 add ${LIBINTL} for use with DPADD. 2000-10-31 10:49:01 +00:00
itojun dd5efd6d45 enable lib/libintl. 2000-10-31 10:46:34 +00:00
itojun bb42e65bfe BSD-licensed libintl, fully compatible with GNU libintl (in GNU gettext).
from Citrus project xpg4dl repository.
2000-10-31 10:45:04 +00:00
fvdl ef28de5011 fsck -c -> fsck -c 2 2000-10-31 10:41:43 +00:00
eeh f9a51c7b15 Clean up a #define that doesn't belong. Oops. That's what I get for
working this late.
2000-10-31 08:06:14 +00:00
eeh 37486bb837 Get the bpp driver to work properly. 2000-10-31 06:32:06 +00:00
msaitoh d191cbf210 add interrupt mode into wdog
To use:

	ioctl(fd, SIOWDOGSETMODE, &val)

	val:	WDOGM_RESET	-> reset when counter expired
		WDOGM_INTR	-> print PC when counter expired (new!)

This interface is still under experimental.
2000-10-31 02:04:12 +00:00
mjl a7fcd8b686 Fix hanging token ring when data size is multiple of 514, using
patch in PR/11316 by YAMAMOTO Takashi.
This fixes random hangs I experienced, and probably also
remedies PR/11300 and PR/9321.
2000-10-31 01:22:08 +00:00
msaitoh ec7e30e271 fix compile problem on SH3 (from Atsushi Noda) 2000-10-31 01:18:02 +00:00
msaitoh 13bed0a344 - fix error handing in getc.
Now we can handle BREAK signal and framing error correctly.

- cleanup.
2000-10-31 01:08:41 +00:00
pk 62dddfec3c Enable sun4 support and VME devices. 2000-10-30 23:23:15 +00:00
pk 130047c6c1 Remove mount(8) since we can use the fs-specific versions directly.
Add umount(8) (scaled-down version).
Add reboot/halt.
2000-10-30 23:16:13 +00:00
pk 3588feb339 Add /cdrom which is used by dot.profile as a mount point. 2000-10-30 23:14:23 +00:00
pk f016c4b2f5 Support the two-stage memory-disk based bootstrap method for tape, cdrom
and floppy.
2000-10-30 23:13:10 +00:00
pk 03013ae336 umount(8) supporting local filesystems only; avoids pulling in tons
of networking functions.
2000-10-30 22:58:02 +00:00
thorpej b427cdb8cd Remove /etc/mail/aliases.db -- see etc/Makefile,v 1.168. 2000-10-30 21:49:49 +00:00
thorpej a84221b9db Just nuke the "build aliases.db" stuff from here. It's not
necessary, as /etc/rc.d/sendmail will already rebuild DB files
automatically if necessary, and doing aliases.db here just
totally breaks cross-compiling.
2000-10-30 21:48:20 +00:00
jdolecek 366b58f084 mount(8) now includes code for all mount_*(8) but mount_portal(8) and
mount_mfs(8); the mount_*(8) are hardlinked to mount (appropriate mount routine
is called depending on program name) - this saves approx. 1.7MB of /sbin
space
mount.c: make all local symbols static
2000-10-30 21:31:49 +00:00
jdolecek 3d64d110ca fix copyright (damned copy&paste) 2000-10-30 20:58:20 +00:00
jdolecek debb6d80a3 make the code includable into other programs:
* make static all symbols which do not need to be exported
* rename main() to mount_FOO()
* new main() now just calls mount_FOO(), main() is only compiled in if
  MOUNT_NOMAIN is not defined
* a_gid(), a_uid() and a_mask() were put into ../mount/fattr.[ch], local
  versions removed
2000-10-30 20:56:57 +00:00
is f2a9404fd1 Fix typo, pointed out privately by Petri Koistinen. 2000-10-30 20:21:08 +00:00
mason 43bcdca61e Apply the following:
-       static u_int16_t n = HASH_MINSIZE / HASH_ENTRYSIZE;
+       static u_int32_t n = HASH_MINSIZE / HASH_ENTRYSIZE;

...so that large packets do not wrap "n".
2000-10-30 18:58:37 +00:00
jdolecek 9ad5bf10de list parenthesis usage similar way as other operators
document operator precedence
rename section BUGS to COMPATIBILITY, add paragraph about -- handling
2000-10-30 16:20:12 +00:00
jdolecek 5888f4d21c add a hack to properly handle '--' as first argument -
it's ignored if it would cause syntax error, otherwise treated as common
string; this is so that both 'expr -- : .' and 'expr -- foo : .' works
This addresses standards/11230 by Ben Harris.

while here, make all global variables but main() static, use const more
2000-10-30 14:55:02 +00:00
aymeric 79041c7a30 add a semicolon to make this compile again 2000-10-30 14:40:33 +00:00
tsubai 8853c17400 Add dmac for spifi. (commented out) 2000-10-30 10:16:31 +00:00
garbled 3cc7cf211a While I'm here.. document the rest of the environment variables I found in
this program.
2000-10-30 10:16:15 +00:00
tsubai 123fba3de1 Add spifi SCSI (commented out yet). 2000-10-30 10:14:44 +00:00
tsubai c6c547497d NEWS5000 internal SCSI driver. 2000-10-30 10:07:35 +00:00
garbled 4c2d830e97 Document the MAKE environment variable. 2000-10-30 10:02:39 +00:00
garbled 331c044669 Modify this to obey $MAKE in the environment, instead of allways calling
"make" hardcoded.  This should cause my cross-ramdisk-builds to stop
blowing a gasket.
2000-10-30 09:55:09 +00:00
lukem b14a596beb Add support for booting off RAIDframe RAID1 mirrors. Check the first partition
type in biosdiskopen(), and if it is of type FS_RAID, add 64 to d->b_off.

NOTE: installboot(8) still needs some hacking to DTRT, but at least this way
if you can load "/boot" off another partition (e.g, wd0h), then wd0a can be
of type `RAID' with a raidframe mirror at the start and the kernel
will load OK of wd0a, and with raidctl -A root partitions, it will change
root as well.
2000-10-30 07:30:59 +00:00
thorpej 10203d4eca Change the RNG callout -- don't spin until data is available. If
none is available, just wait until the next clock tick.
2000-10-30 00:26:04 +00:00
eeh 400b7c8ee0 Add pmap_growkernel(). 2000-10-29 23:30:35 +00:00
tron b56cc4466d Patch from Takahiro Kambe to fix crashes if dynamic DNS updates
are used. This fixes PR bin/10665 by Mason Loring Bliss.
2000-10-29 22:55:57 +00:00
he a08889417a Use an rlim_t to store "available memory", so we don't needlessly
overflow and/or sign extend.
2000-10-29 18:38:47 +00:00
thorpej 401ea1afda The "&" operator has a higer precedence than "|". 2000-10-29 17:16:02 +00:00
lukem 1742d8acf0 more work:
- use .Tn, .Bx, .Ul, .Key, .Sq, .Dq, .Li, .Dl, (etc) ... as appropriate
- be more consistent between various ports' install notes
- other cleanups
2000-10-29 14:08:04 +00:00
simonb 5624ce1aee Update pmax set sizes from the 1.5_BETA build. 2000-10-29 13:13:07 +00:00