History log of /netbsd-src/include/setjmp.h (Results 1 – 25 of 26)
Revision Date Author Comments
# 0b50389a 05-Nov-2011 joerg <joerg@NetBSD.org>

Add __returns_twice for the attribute of the same name. This makes the
attribute explicit based on the functions GCC gives it too.


# 21d93aff 12-Aug-2009 matt <matt@NetBSD.org>

Allow <machine/setjmp.h> to override the type using in jmpbuf.


# fc883a79 24-Dec-2007 perry <perry@NetBSD.org>

change some __attribute__s to __keywords


# 66412e72 13-Sep-2005 christos <christos@NetBSD.org>

compat code reorg


# 9f184f48 15-Apr-2005 christos <christos@NetBSD.org>

Add no-return attribute to all longjmp flavors. Approved by kleink.


# 19b7469a 03-Feb-2005 perry <perry@NetBSD.org>

de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.


# 039cc956 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22270, verified by myself.


# 4be7a2dc 28-Apr-2003 bjh21 <bjh21@NetBSD.org>

Add a new feature-test macro, _NETBSD_SOURCE. If this is defined
by the application, all NetBSD interfaces are made visible, even
if some other feature-test macro (like _POSIX_C_SOURCE) is defined.

Add a new feature-test macro, _NETBSD_SOURCE. If this is defined
by the application, all NetBSD interfaces are made visible, even
if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
<sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE,
_POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve
existing behaviour.

This has two major advantages:
+ Programs that require non-POSIX facilities but define _POSIX_C_SOURCE
can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS.
+ It makes most of the #ifs simpler, in that they're all now ORs of the
various macros, rather than having checks for (!defined(_ANSI_SOURCE) ||
!defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.

I've tried not to change the semantics of the headers in any case where
_NETBSD_SOURCE wasn't defined, but there were some places where the
current semantics were clearly mad, and retaining them was harder than
correcting them. In particular, I've mostly normalised things so that
_ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE,
_XOPEN_SOURCE and _NETBSD_SOURCE in that order.

Tested by building for vax, encouraged by thorpej, and uncontested in
tech-userlevel for a week.

show more ...


# ee46e8d7 07-Mar-2000 jdolecek <jdolecek@NetBSD.org>

make the #ifdef __LIBC12_SOURCE__ consistent with usage in <signal.h>
and <sys/stat.h>
Fixes misc/6520.


# 4720afb4 15-Jan-1999 castor <castor@NetBSD.org>

Avoid introducing new prefix '__JB' -- '_JB' is fine.


# b60cd4e1 14-Jan-1999 castor <castor@NetBSD.org>

Remove bogus RCS Id.


# 25c86364 14-Jan-1999 castor <castor@NetBSD.org>

Allow MD setjmp.h to specify attributes for jmp_buf, so more
stringent alignment requirements can be satisfied.


# ea779789 14-Sep-1998 thorpej <thorpej@NetBSD.org>

Fix typo in previous, and also don't version _setjmp/_longjmp; after
more careful analysis, I realized that they don't access the extended
jmp_buf data area, and thus would not have changed.


# f09a4dc2 14-Sep-1998 thorpej <thorpej@NetBSD.org>

Version setjmp(), longjmp(), _setjmp(), _longjmp(), sigsetjmp(), and
siglongjmp(). The size of struct sigcontext, and thus the size
of jmp_buf and sigjmp_buf on some platforms, has changed.


# fe173387 06-May-1998 kleink <kleink@NetBSD.org>

Reorganize name space protection.


# f995c570 20-Dec-1994 cgd <cgd@NetBSD.org>

*jmp_buf -> arrays of longs, and make the definition of _JBLEN mach. dep.
header-dependent.


# d781cfcf 10-Dec-1994 jtc <jtc@NetBSD.org>

Kill warnings about sigsetjmp() and siglongjmp() being missing.


# 4d2cbfce 26-Oct-1994 cgd <cgd@NetBSD.org>

new RCS ID format.


# e6b5ddd9 16-May-1994 cgd <cgd@NetBSD.org>

update all but ctype.h, dumprestore.h, time.h to 4.4-Lite versions.
USL copyright additions on those. Kill varargs.h, because it can simply
be a link to the machine-dependent version.


# 507e31c2 27-Nov-1993 briggs <briggs@NetBSD.org>

Add defined(mc68000) || defined(__mc68000__) to the hp300 define for
_JBLEN. This will aid the integration of the five or so m68k ports,
I should think.


# adf9a755 19-Oct-1993 jtc <jtc@NetBSD.org>

Remove warnings wrt. sigsetjmp() && siglongjmp(), now that there is
an implementation for one of the ports. Other-port people need to
provide this for their ports. I have a program that tests the
s

Remove warnings wrt. sigsetjmp() && siglongjmp(), now that there is
an implementation for one of the ports. Other-port people need to
provide this for their ports. I have a program that tests the
setjmp/longjmp family of routines rather thouroughly it is needed.

show more ...


# 3e82c91c 19-Oct-1993 deraadt <deraadt@NetBSD.org>

_JBLEN is 9 on the sparc; I think.


# 011b7a09 01-Sep-1993 cgd <cgd@NetBSD.org>

kill typo. you check if things are "defined", not "defgined". 8-)


# 369e28bc 01-Sep-1993 deraadt <deraadt@NetBSD.org>

addition of the pc532 architecture


# e9d867ef 01-Aug-1993 mycroft <mycroft@NetBSD.org>

Add RCS identifiers.


12