Commit Graph

57073 Commits

Author SHA1 Message Date
tegge
6a8ad1fd29 Remove freelists managed by Balloc/Bfree.
Change __dtoa to not free the string it allocated the previous time it was
called.  The caller now frees the string after usage if appropiate.

PR:		15070
Reviewed by:	deischen
2001-02-15 22:12:50 +00:00
ru
48633da620 Do not ever try to look into nonexisting locale subdirectories.
(is_directory() returns -1 if the file does not exist, 1 if it
is a directory or a symlink to a directory, and 0 otherwise.)
2001-02-15 19:01:41 +00:00
jlemon
11781a7431 Extend kqueue down to the device layer.
Backwards compatible approach suggested by: peter
2001-02-15 16:34:11 +00:00
bde
5655168b87 Fixed bitrot in synopsis. The Lite2 change from int to u_long for ioctl
command numbers had not reached here.
2001-02-15 12:54:34 +00:00
bde
c68f867ba3 Fixed rotted-as-committed pseudo-prototype for VFS_CHECKXP(). It had not
caught up with the changes to avoid storing socket addresses in mbufs,
although the VFS_CHECKEXP() code had to since it was committed 2 years
after those changes.

Fixed formatting in this prototype.
2001-02-15 12:41:44 +00:00
bde
38a7348ede Fixed bitrot in synopsis (some const poisoning had not reached here). 2001-02-15 12:27:11 +00:00
ru
bbdffeab98 Apparently, people do not listen for a plea to look into the
README file before making changes here.  Fix them once again.
2001-02-15 12:25:48 +00:00
bde
f8f709338a Fixed missing and wrong includes in synopsis. The prerequisites for
using bus_alloc_resource(), etc., are especially unobvious, but were
especially wrong (<sys/resource.h> has nothing to do with the resources
documented here...).  Order and format the includes as correctly as
possible (a layering violation makes <machine/bus.h> a prerequisite for
<sys/rman.h>).
2001-02-15 12:21:44 +00:00
bde
096a6c0dc7 Fixed missing include in synopsis.
Added evil #define of ACCEPT_FILTER_MODULE to synopsis.  Some of
the functions defined in this man page aren't declared unless
ACCEPT_FILTER_MOD is defined before including <sys/socketvar.h>.
2001-02-15 11:58:38 +00:00
bde
4cfcac144d Fixed missing and/or wrong and/or extra includes in synopsis. 2001-02-15 11:47:31 +00:00
bde
9cfa7058be Include <sys/cdefs.h> so that this file is self-sufficient.
Protect hand-formatted comments from indent(1).  Don't bogusly forward-
declare `struct proc'.  Fixed some other style bugs.
2001-02-15 11:35:55 +00:00
ume
bf66c2eda8 Correct 2nd argument of getnameinfo(3) to socklen_t.
Reviewed by:	itojun
2001-02-15 10:35:55 +00:00
ru
126eb13f1a Fixed the fatal (missing "..").
Pointy hat to:	asmodai
2001-02-15 10:34:43 +00:00
ru
93da2eda0f mdoc(7) police: normalize the construct. 2001-02-15 08:36:20 +00:00
grog
924a91bf8d Correct typo.
Submitted by:	"James and Amanda" <jhar2gthr@yahoo.com> (well, ~James, anyway).

Of necessity add $FreeBSD$.

Required by:	Precommit checks.
2001-02-15 07:48:28 +00:00
peter
cf4dcec7b3 Manually run /usr/sbin/sendmail -q once a day. Folks seem to be too
trigger happy and turn off sendmail_enable entirely (instead of setting
sendmail_flags to -q30m instead).  I have seen boxes with things like daily
run reports that have sat in mailq for 5 months.  Since /usr/sbin/sendmail
is actually mailwrapper, this should be safe for the other plugins that
provide the sendmail calling interface.
2001-02-15 01:34:37 +00:00
ache
75fbeb249e Add {yes,no}str translations
Submitted by:	Panagiotis Astithas <past@netmode.ntua.gr>
2001-02-14 23:34:44 +00:00
peter
121aa22756 Work around the p_comm[] size limit. If the user supplies more than
16 characters, only check the first 16 since that is all the kernel
records.  This isn't ideal, but it is probably the best we can do.
Otherwise, "killall communicator-linux-4.76.bin" will not match
the process as the kernel only records "communicator-lin".
2001-02-14 21:56:03 +00:00
peter
abdca07e35 List the SA_RESTART flag rather than burying it in another paragraph. 2001-02-14 21:46:07 +00:00
obrien
65acca06a9 Only build the compat libs appropiate for the target machine. 2001-02-14 20:49:54 +00:00
markm
b1b1c55467 Fix a "make world"-breaking inconsistency for those folks making
a world with both KRB4 and KRB5.
2001-02-14 19:54:36 +00:00
markm
882e15747f Previous commit should have read:
Fix "make world" for those folks building world with KRB5
2001-02-14 19:50:42 +00:00
markm
d74560913e Fix make world. 2001-02-14 19:48:51 +00:00
markm
00b58122f2 Fix build, and make parallel build much more robust. 2001-02-14 19:47:24 +00:00
jlemon
7947c37b14 Do not coredump if no options are supplied. (ps -o,)
Submitted by: rgrimes
Obtained from: NetBSD
2001-02-14 18:54:34 +00:00
ru
75828ea30b If both full-locale-name and short-locale-name searches
fail, look the manpage in the en.<charset> subdirectory.

See the manpage for details.

Suggested by:	ache
2001-02-14 16:31:08 +00:00
sheldonh
fb1e228ffb Fix grammar nit in previous commit. 2001-02-14 15:03:20 +00:00
asmodai
ec09e340ce Add definitions for IPPROTO numbers 55-57. 2001-02-14 13:51:20 +00:00
asmodai
c01f8042c3 Fix another typo I missed on first reading:
insersion -> insertion
2001-02-14 13:24:01 +00:00
asmodai
83f8be73a9 Fix typo and comma placement. 2001-02-14 13:16:21 +00:00
ru
5fd02ba285 Backout 1.38->1.41 (functional) changes pending the proper solution.
/usr/share/man/cat? is only allowed to store -Tascii formatted data.

Requested by:	ache
2001-02-14 13:16:16 +00:00
ache
d70e6ef88c Add {yes,no}str translation
Submitted by:	Cejka Rudolf <cejkar@dcse.fee.vutbr.cz>
2001-02-14 12:17:10 +00:00
ru
11972fadba 1. Disable the recognition of the last dot character in the
default .Ar argument as an end-of-sentence character.

Example:
    .Ar
    foo
Produced:
    file ...  foo
Now produces:
    file ... foo

2.  Fixed an off-by-one bug in the .It macro for the -hang lists.

Example:
    .Bl -hang -width 8n -compact
    .It 1234
    OK
    .It 1234567
    OK
    .It 12345678
    BUG
    .El
Produced:
     1234      OK
     1234567   OK
     12345678 BUG
Now produces:
     1234      OK
     1234567   OK
     12345678  BUG

Ported from:	mdocNG
2001-02-14 11:03:06 +00:00
ru
4e1541048e mdoc(7) police: replace -hang list with the -tag list,
add missing .Xo/.Xc to the tags.  This only worked due
to the off-by-one bug in the -hang lists, which I will
hopefully backport from the mdocNG shortly.
2001-02-14 10:14:35 +00:00
ru
eb847b5e24 mdoc(7) police: simplify construct. 2001-02-14 09:56:37 +00:00
guido
821767cd05 Add include <sys/time.h> because kevent uses struct timespec 2001-02-14 08:48:35 +00:00
rwatson
b71405b5bc o Fix spellign in a comment: s/referernce/reference/ 2001-02-14 06:53:57 +00:00
bmilekic
cc2f31e1a4 Implement m_getm() which will perform an "all or nothing" mbuf + cluster
allocation, as required.

If m_getm() receives NULL as a first argument, then it allocates `len'
(second argument) bytes worth of mbufs + clusters and returns the chain
only if it was able to allocate everything.
If the first argument is non-NULL, then it should be an existing mbuf
chain (e.g. pre-allocated mbuf sitting on a ring, on some list, etc.) and
so it will allocate `len' bytes worth of clusters and mbufs, as needed,
and append them to the tail of the passed in chain, only if it was able
to allocate everything requested.

If allocation fails, only what was allocated by the routine will be freed,
and NULL will be returned.

Also, get rid of existing m_getm() in netncp code and replace calls to it
to calls to this new generic code.

Heavily Reviewed by: bp
2001-02-14 05:13:04 +00:00
peter
1c970ba5b3 Commit a libc fix going by the current state of the version numbering
bikeshed in -arch.  It isn't quite over, but it has been well established
that this can be adjusted or refined.  But we do seem to have consensis
on a major bump of some sort.  After this, it should reasonably safe
to build world again.

This change is to get rid of __sF[] and use seperate __stdin/out/err
handles.  This means we can pad on extra bits onto the end of FILE
at will without going through this all over again.  __sF[] was evil
because it compiled the sizeof(FILE) into every stdio using program.

Asbestos suit on: check!
Peril sensitive sunglasses on: check!
*gulp!*
2001-02-14 05:00:20 +00:00
jlemon
9377320bfd Return ECONNABORTED from accept if connection is closed while on the
listen queue, as well as the current behavior of a zero-length sockaddr.

Obtained from: KAME
Reviewed by: -net
2001-02-14 02:09:11 +00:00
ache
1bd9c94cf7 Add yesstr/nostr translations 2001-02-13 23:36:15 +00:00
ache
c5730e0f45 Return {YES,NO}STR from locale
Approved by:	phantom
2001-02-13 23:32:48 +00:00
mjacob
7e987d1dff Doug found that doing a W1C on MCPCIA_INT_REQ just around the time you
clear MCPCIA_INT_MASK0 helps things substantially. So, why not indeed?

Rearrange irq and cookie calculation to use shifts/masks instead
of division. Fix things to correctly remember the intpin for that
one in a million non-INTA PCI device.
2001-02-13 22:48:12 +00:00
mjacob
3651ee3457 add defines for EISA, NCR IRQs; add defines for MID and SLOT shift values 2001-02-13 22:46:30 +00:00
mjacob
7af01441d3 add mcbus minimum id value 2001-02-13 22:45:53 +00:00
mjacob
b31e6b9052 Doug noticed that the bit values for _MCPCIA_INT_ACK0/_MCPCIA_INT_ACK1
made no sense in the context of wrapping them within the _SYBRIDGE macro-
or anything like it- so we concluded that this must have been a typo
in the docs.  This also doesn't use the same bridge offset as anything
else.

Add some defines for the INT_CTL register.
2001-02-13 22:44:21 +00:00
assar
c492c977b4 nuke conflict markers 2001-02-13 22:40:28 +00:00
olgeni
b561c64e85 Another ispell run. 2001-02-13 22:36:00 +00:00
cg
11f0b5a538 add a format feeder for conversion from alaw to ulaw and vice versa.
Submitted by:   Orion Hodson <O.Hodson@cs.ucl.ac.uk>
2001-02-13 22:00:57 +00:00
cg
c467270698 make attempts to set unsupported speeds or formats non-sticky. this should
fix problems with apps that probe for a variety of settings.

Submitted by:	Orion Hodson <O.Hodson@cs.ucl.ac.uk>
2001-02-13 21:57:34 +00:00