OpenBSD CVS

CVS log for src/include/limits.h


[BACK] Up to [local] / src / include

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 20 22:09:50 2015 UTC (9 years, 3 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, HEAD
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

increase TMP_MAX to the equivalent of INT_MAX. it's actually more,
but safer not to wraparound by accident.
ok deraadt millert miod

Revision 1.18 / (download) - annotate - [select for diffs], Fri Mar 1 21:16:34 2013 UTC (11 years, 2 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.17: +12 -10 lines
Diff to previous 1.17 (colored)

Add _POSIX_CLOCKRES_MIN and _POSIX2_CHARCLASS_NAME_MAX per POSIX 1003.1-2008

ports build tested by espie@

Revision 1.17 / (download) - annotate - [select for diffs], Sun Feb 17 22:09:54 2013 UTC (11 years, 3 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Fix typo that hid PASS_MAX, TMP_MAX, NL_NMAX, and _XOPEN_{IOV,NAME,PATH}_MAX
defines.

ok deraadt@ millert@

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jun 30 20:21:10 2012 UTC (11 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.15: +26 -8 lines
Diff to previous 1.15 (colored)

Further standards compliance fixes: export LONG_BIT, WORD_BIT, and
NL_{ARG,LANG,MSG,SET,TEXT}MAX with newer POSIX.
Hide {FLT,DBL}_{DIG,MAX,MIN} and {PASS,TMP,NL_N}_MAX with newer XPG.
Make _POSIX_NGROUPS_MAX and _POSIX_OPEN_MAX conditional on the POSIX
version, like _POSIX_TZNAME_MAX already is.
Add some more _POSIX_* and _XOPEN_* 'specified' limits.

ok kettenis@

Revision 1.15 / (download) - annotate - [select for diffs], Sun Feb 10 09:59:54 2008 UTC (16 years, 3 months ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.14: +5 -1 lines
Diff to previous 1.14 (colored)

Define _POSIX_TZNAME_MAX to 6 if the user requested POSIX 1003.1-2001.

ok millert@

Revision 1.14 / (download) - annotate - [select for diffs], Sat Feb 2 15:31:31 2008 UTC (16 years, 3 months ago) by kettenis
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

Define _POSIX_HOST_NAME_MAX and HOST_NAME_MAX.

ok krw@, laurent@

Revision 1.13 / (download) - annotate - [select for diffs], Sat Dec 31 19:29:38 2005 UTC (18 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.12: +4 -7 lines
Diff to previous 1.12 (colored)

Move TTY_NAME_MAX and LOGIN_NAME_MAX to sys/syslimits.h
Use correct values for _POSIX_TTY_NAME_MAX and _POSIX_LOGIN_NAME_MAX
Define MAXLOGNAME in terms of LOGIN_NAME_MAX
OK krw@

Revision 1.12 / (download) - annotate - [select for diffs], Tue Dec 13 00:35:22 2005 UTC (18 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.11: +16 -12 lines
Diff to previous 1.11 (colored)

First step in include files overhaul.  Use __FOO_VISIBLE (as defined
in sys/cdefs.h) instead of _FOO_SOURCE.  Also fix several namespace
pollution issues, including the byte order defines.  OK deraadt@

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 9 17:32:10 2004 UTC (19 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

According to POSIX, _POSIX_PATH_MAX should be 256 but _POSIX_SYMLINK_MAX
should only be 255.  You would think they would be the same but you'd be
wrong.

Revision 1.10 / (download) - annotate - [select for diffs], Mon May 31 18:34:41 2004 UTC (19 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Define _POSIX_SYMLINK_MAX and SYMLINK_MAX as _POSIX_PATH_MAX and PATH_MAX
respectively instead of duplicating their values.

Revision 1.9 / (download) - annotate - [select for diffs], Mon May 31 18:31:52 2004 UTC (19 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.8: +6 -3 lines
Diff to previous 1.8 (colored)

Updates based on Single Unix; OK deraadt@
o _POSIX_CHILD_MAX increased to 25
o _POSIX2_RE_DUP_MAX renamed _POSIX_RE_DUP_MAX
o _POSIX_SYMLINK_MAX and SYMLINK_MAX added (same as PATH_MAX)
o _POSIX_SYMLOOP_MAX and SYMLOOP_MAX added (like MAXSYMLINKS)

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 2 19:34:12 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.7: +2 -6 lines
Diff to previous 1.7 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Apr 24 21:53:11 2002 UTC (22 years ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Introduce a new file, machine/internal_types.h, to hold that specific arch
type characteristics.

internal_types.h will contain only settings invisible from standard C, e.g.,
in the __* or _[A-Z]* namespace, and be reused by files like limits.h.

This allows us to shorten machine/limits.h greatly, as all the common defines
are now in sys/limits.h, plus a small stub in internal_types.h.

Tested on all arches as far as I know.
Approved after discussion with art, millert, deraadt, and others.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 20 11:18:25 1998 UTC (25 years, 6 months ago) by d
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.5: +9 -1 lines
Diff to previous 1.5 (colored)

Add thread-safety to libc, so that libc_r will build (on i386 at least).
All POSIX libc api now there (to P1003.1c/D10)
  (more md stuff is needed for other libc/arch/*)
  (setlogin is no longer a special syscall)
Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS).
Doc some re-entrant routines
Add libc_r to intro(3)
dig() uses some libc srcs and an extra -I was needed there.
Add more md stuff to libc_r.
Update includes for the pthreads api
Update libc_r TODO

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jul 11 06:02:44 1998 UTC (25 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.4: +7 -4 lines
Diff to previous 1.4 (colored)

provide TMP_MAX like stdio.h; kleink

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 21 10:45:39 1997 UTC (26 years, 8 months ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.3: +1 -0 lines
Diff to previous 1.3 (colored)

Well, as we are heading for a release people are encouraged to rebuild their
entire trees for testing anyway, I might as well do this intrusive touching
of include files now.  Added openBSD tags.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Oct 26 03:12:45 1996 UTC (27 years, 6 months ago) by tholo
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Correct a typo in _POSIX_SSIZE_MAX
Correct _POSIX_ARG_MAX; it should define the minimum allowed argument size,
not the supported on (we have sysconf for that)

Revision 1.2 / (download) - annotate - [select for diffs], Fri Aug 30 01:57:18 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

_POSIX_ARG_MAX 256k after consulting with thorsten

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:41:12 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:41:12 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.