| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
instead of duplicating code, albeit trivial (inspired by NetBSD).
PR: 5524
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Move sigjmp_buf and jmp_buf structure definitions to machine/setjmp.h
so that i386 can continue to use int as the basic register type and
alpha can use long. Bruce was concerned about possible differing
alignment. I've left the definition of _JBLEN in machine/setjmp.h
even though Bruce's example used the number directly. I don't know if
any other code relies on _JBLEN, so I left it to avoid potential
breakage.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note: this may cause some problems in a few cases. With very old versions
of rpcgen, if you defined a procedure called foo, then rpcen would create
client stubs for function foo_1() and server stubs _also_ with function
foo_1(). This only worked because of the lack of ANSI prototypes: the
client side stub takes different arguments than the server side stub.
(The client side takes a CLIENT * handle, while the server side wants
an svc_req *.)
To fix this conflict, rpcgen in ANSI mode generates foo_1() for the client
and foo_1_svc() for the server. RPC server code that depends on the old
behavior might break because of this. (Fixing it is just a matter of
adding the _svc suffix onto the server procedure names.)
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
isn't gratuitously broken. This also prevents ANSI compilers from
recognizing the pragma as a request to run /usr/games/hack...
FreeBSD Ids should be in comments or rcsids, not in `#pragma ident's
(which are equivalent to comments when compiled by gcc), and the
only FreeBSD change in this file seems to be adding the Id.
|
|
|
|
|
| |
isn't gratuitously broken. This also prevents ANSI compilers from
recognizing the pragma as a request to run /usr/games/hack...
|
|
|
|
| |
from `enum foo;'.
|
|
|
|
|
| |
<sys/cdefs.h>, <sys/types.h>, <rpcsvc/yp_prot.h>, and on the latter's
prerequisites (5 more).
|
| |
|
|
|
|
|
|
|
| |
Added some forward struct declarations so that this file is less
self-insufficent.
Fixed an incomplete prototype.
Fixed some misformattings.
|
|
|
|
| |
self-insufficent.
|
|
|
|
|
| |
broken. This also prevents ANSI compilers from recognizing the pragma
as a request to run /usr/games/hack...
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
definitions for architectures that we don't have libc MD source for.
Change 'int' to 'long' in sigjmp_buf and jmp_buf structures so
that they are suitable for the register size on both i386 and alpha.
Although FreeBSD defines these structures differently to NetBSD,
the element size is now the same.
If Bruce doesn't like this [8-)], we'll need to add a typedef to
each <machine/setjmp.h> and use that in <setjmp.h>.
|
| |
|
|
|
|
| |
Submitted by: Bruce Evans <bde@zeta.org.au>
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
| |
PR: 5119
Discussed with: Bruce Evans <bde@zeta.org.au>
|
|
|
|
|
|
|
|
|
| |
provided is of type pthread_t instead of pthread_t *.
PR: 4320
Return EINVAL instead of ESRCH if attempting to detach an already
detached thread.
|
|
|
|
| |
nlist.h.
|
|
|
|
|
| |
belong here. The standard place for them is <dlfcn.h>, and there is
already another copy of the prototypes there.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
RFC 1350 isn't very explicit about this, but the use of signed
integers doesn't seem to make sense.
Should be in 2.2.5, but is probably too late to be verified completely.
PR: bin/4502
Submitted by: Dirk Nehrling <nerle@pdv.de> via Lars Koeller
|
|
|
|
| |
I suspect a commit of mine had this (bogusly).
|
|
|
|
| |
telent.h is installed from libtelnet, not the include dir.
|
| |
|
|
|
|
|
|
| |
2) Revive __maskrune, just return mask now
3) Express __istype via !!__maskrune
4) Use __maskrune in digittoint
|
|
|
|
|
| |
instead just remove '!!' to make digittoint() work and re-arrange
things a little
|
|
|
|
|
| |
Redesign to allow digittoint work for runes too
__maskrune removed, __istype become a macro, __runeflags added
|
|
|
|
| |
that this is right, but the old reference defaintely was not.
|
|
|
|
|
| |
Basic support for the Shift JIS encoding of japanese.
(and one tiny typo fixed in a comment)
|
| |
|
|
|
|
|
|
| |
sys/poll.h). Just provide a link, it's close enough. :-) In an ideal
world the prototype for poll() would be in <poll.h> but some code seems
to expect it in <sys/poll.h>, so we can't win there.
|
|
|
|
|
|
| |
Mention the capability in resolver(5).
Mention that RES_OPTIONS can be used in resolver(5).
Discussed with: -hackers
|
|
|
|
| |
better by not defining AUTH_NONE in login_cap.h.
|
| |
|
|
|
|
| |
${HFILES} and it's simpler to install the non-headers in ${XFILES}.
|
|
|
|
|
|
|
| |
installhdrs target was not being propagated to the subdirs...
also fix rpcsvc's Makefile to have a installhdrs target to install the
headers..
|
|
|
|
| |
setpgrp() prototype with _ as per style(9).
|
|
|
|
| |
without risking invoking ${SHARED}.
|
|
|
|
|
| |
PR: misc/2189
Submitted by: Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de>
|
|
|
|
|
| |
PR: bin/3474
Submitted by: graphix@iastate.edu (Kent Vander Velden)
|
|
|
|
|
|
|
|
| |
modify the original `no modifications' copyright message, and i've
included his mail into the source file.
The common localization functions between strptime(3) and strftime(3)
have been broken out into timelocal.[ch].
|
| |
|