Home | History | Annotate | Download | only in include
History log of /src/sys/arch/vax/include/limits.h
RevisionDateAuthorComments
 1.21  21-Jan-2019  dholland Fix wrong scoping of {U,}LLONG_MAX. More cases, not just amd64.
PR 53298 from Roberto E. Vargas Caballero.
 1.20  11-Apr-2013  christos branches: 1.20.34; 1.20.36;
add missing SSIZE_MIN
 1.19  28-Mar-2012  christos branches: 1.19.2;
- Normalize inclusion protection (remove)
- Move CHAR_{MIN,MAX} to a common file.
- Fix broken comments
 1.18  07-Jun-2010  tnozaki branches: 1.18.8; 1.18.12;
1. MB_LEN_MAX switch MD to MI.
2. unfortunately hppa's MB_LEN_MAX is defined incorrectly 6 instead of 32
so we have to add more setlocale(3) __RENAME func, __setlocale50.
3. move setlocale1.c and setlocale32.c to lib/libc/compat/locale/*
prepareing for next libc major crunk.
4. bump libc minor version.
 1.17  29-Aug-2008  matt branches: 1.17.14; 1.17.16;
Drop support for compiling a.out kernel. Elves rule!
 1.16  17-Oct-2007  garbled branches: 1.16.16; 1.16.20; 1.16.22; 1.16.26;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.15  31-Aug-2007  drochner Fix definitions of UCHAR_MAX/USHRT_MAX and related
types. C99 requires that these definitions promote to (signed/unsigned)
integer the same way as the types the definition is for. And since
unsigned char/short fit into an "int" on all our archs and thus promote
to signed int, the definitions must not be unsigned.
Fixes PR lib/31306 by Neil Booth.
 1.14  11-Dec-2005  christos branches: 1.14.30; 1.14.38; 1.14.44; 1.14.48; 1.14.50;
merge ktrace-lwp.
 1.13  07-Aug-2003  agc branches: 1.13.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.12  28-Apr-2003  bjh21 branches: 1.12.2;
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.
 1.11  15-Apr-2001  kleink branches: 1.11.8;
Catch up with ansi.h rev. 1.12: define SIZE_T_MAX and SSIZE_MAX as long
integer constants in ELF environments.
 1.10  08-Aug-2000  tshiozak branches: 1.10.2;
Preparation for the future introduction of multibyte locale.
- MB_LEN_MAX is increased to 32.
- To ensure binary compatibility for old executables
under multibyte locale, versioned setlocale is added.
- __mb_len_cur definision is added in setlocale.c
and enable it in stdlib.h .
It is also important for multibyte locale stuffs,
but I just forgot.
 1.9  07-Mar-2000  kleink branches: 1.9.2; 1.9.4;
Define ISO C99 (unsigned) long long (min, max) symbols.
 1.8  06-Aug-1998  kleink branches: 1.8.12;
_POSIX_SOURCE -> _POSIX_C_SOURCE
 1.7  09-Jan-1998  perry multiple include protect machine/limits.h, fixes pr 4473 (from Mika Nystrom)
 1.6  31-Dec-1995  ragge Changes requested by Charles Hannum.
 1.5  28-May-1995  ragge Changed *_MIN to be correct.
 1.4  16-Apr-1995  ragge Added SSIZE_MAX, SIZE_T_MAX, UQUAD_MAX, QUAD_MAX and QUAD_MIN.
 1.3  26-Oct-1994  cgd new RCS ID format.
 1.2  05-Oct-1994  jtc Add constants required by XPG3
 1.1  02-Aug-1994  ragge branches: 1.1.2;
Initial VAX port merging.
 1.1.2.2  02-Aug-1994  ragge Initial VAX port merging.
 1.1.2.1  02-Aug-1994  ragge file limits.h was added on branch netbsd-1-0 on 1994-08-02 20:20:33 +0000
 1.8.12.2  21-Apr-2001  bouyer Sync with HEAD
 1.8.12.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.9.4.1  09-Aug-2000  tshiozak pull up the following changes (approved by thorpej):
> cvs rdiff -r1.9 -r1.10 basesrc/include/locale.h
> cvs rdiff -r1.45 -r1.46 basesrc/include/stdlib.h
> cvs rdiff -r1.16 -r1.17 basesrc/lib/libc/locale/Makefile.inc
> cvs rdiff -r1.17 -r1.18 basesrc/lib/libc/locale/setlocale.c
> cvs rdiff -r0 -r1.2 basesrc/lib/libc/locale/setlocale_sb.c
> cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/alpha/include/limits.h
> cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/arm26/include/limits.h
> cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/arm32/include/limits.h
> cvs rdiff -r1.14 -r1.15 syssrc/sys/arch/i386/include/limits.h
> cvs rdiff -r1.12 -r1.13 syssrc/sys/arch/m68k/include/limits.h
> cvs rdiff -r1.13 -r1.14 syssrc/sys/arch/mips/include/limits.h
> cvs rdiff -r1.10 -r1.11 syssrc/sys/arch/pc532/include/limits.h
> cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/powerpc/include/limits.h
> cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/sh3/include/limits.h
> cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/sparc/include/limits.h
> cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/sparc64/include/limits.h
> cvs rdiff -r1.9 -r1.10 syssrc/sys/arch/vax/include/limits.h
>
> Outline:
>
> Preparation for the future introduction of multibyte locale.
> - MB_LEN_MAX is increased to 32.
> - To ensure binary compatibility for old executables
> under multibyte locale, versioned setlocale is added.
> - __mb_len_cur definision is added in setlocale.c
> and enable it in stdlib.h .
> It is also important for multibyte locale stuffs,
> but I just forgot.
 1.9.2.1  28-May-2000  minoura Citrus Project XPG4DL, an implementation of I18N (locale) framework,
is imported.
 1.10.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.11.8.2  15-Apr-2001  kleink Catch up with ansi.h rev. 1.12: define SIZE_T_MAX and SSIZE_MAX as long
integer constants in ELF environments.
 1.11.8.1  15-Apr-2001  kleink file limits.h was added on branch nathanw_sa on 2001-04-15 14:16:09 +0000
 1.12.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.12.2.1  03-Aug-2004  skrll Sync with HEAD
 1.13.16.1  03-Sep-2007  yamt sync with head.
 1.14.50.1  06-Nov-2007  matt sync with HEAD
 1.14.48.1  03-Sep-2007  jmcneill Sync with HEAD.
 1.14.44.1  03-Sep-2007  skrll Sync with HEAD.
 1.14.38.1  03-Oct-2007  garbled Sync with HEAD
 1.14.30.1  09-Oct-2007  ad Sync with head.
 1.16.26.1  19-Oct-2008  haad Sync with HEAD.
 1.16.22.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.16.20.2  11-Aug-2010  yamt sync with head.
 1.16.20.1  04-May-2009  yamt sync with head.
 1.16.16.1  28-Sep-2008  mjf Sync with HEAD.
 1.17.16.1  03-Jul-2010  rmind sync with head
 1.17.14.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.18.12.1  05-Apr-2012  mrg sync to latest -current.
 1.18.8.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.18.8.1  17-Apr-2012  yamt sync with head
 1.19.2.1  23-Jun-2013  tls resync from head
 1.20.36.1  10-Jun-2019  christos Sync with HEAD
 1.20.34.1  26-Jan-2019  pgoyette Sync with HEAD

RSS XML Feed