CVS log for src/include/stdlib.h
Up to [FreeBSD] / src / include
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.82: download - view: text, markup, annotated - select for diffs
Mon Jan 9 06:36:28 2012 UTC (4 weeks, 4 days ago) by ed
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +1 -0 lines
SVN rev 229848 on 2012-01-09 06:36:28Z by ed Add aligned_alloc(3). The C11 folks reinvented the wheel by introducing an aligned version of malloc(3) called aligned_alloc(3), instead of posix_memalign(3). Instead of returning the allocation by reference, it returns the address, just like malloc(3). Reviewed by: jasone@
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Jan 8 12:03:46 2012 UTC (4 weeks, 4 days ago) by ed
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -2 lines
SVN rev 229807 on 2012-01-08 12:03:46Z by ed Fix spelling of C11 and sort functions by name.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Dec 26 18:55:37 2011 UTC (6 weeks, 3 days ago) by ed
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +5 -5 lines
SVN rev 228901 on 2011-12-26 18:55:37Z by ed Improve C11 bits in <stdlib.h>: - Add missing semicolon to quick_exit(), - Remove `func' parameter name from at_quick_exit(), - Fix indentation. - Compare against 2011 value.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Dec 13 13:32:56 2011 UTC (8 weeks, 2 days ago) by ed
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +1 -1 lines
SVN rev 228468 on 2011-12-13 13:32:56Z by ed Replace __const by const in all non-contributed source code. As C1X is close to being released, there is no need to wrap around a feature that is already part of C90. Most of these files already use `const' in different placed as well.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Dec 7 21:17:50 2011 UTC (2 months ago) by theraven
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +4 -4 lines
SVN rev 228330 on 2011-12-07 21:17:50Z by theraven As per das@'s suggestion, s/__noreturn/_Noreturn/, since the latter is an identifier reserved for the implementation in C99 and earlier so there is no sensible reason for introducing yet another reserved identifier when we could just use the one C1x uses. Approved by: brooks (mentor)
Revision 1.77: download - view: text, markup, annotated - select for diffs
Wed Dec 7 15:25:48 2011 UTC (2 months ago) by theraven
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +11 -3 lines
SVN rev 228322 on 2011-12-07 15:25:48Z by theraven Implement quick_exit() / at_quick_exit() from C++11 / C1x. Also add a __noreturn macro and modify the other exiting functions to use it. The __noreturn macro, unlike __dead2, must be used BEFORE the function. This is in line with the C and C++ specifications that place _Noreturn (c1x) and [[noreturn]] (C++11) in front of the functions. As with __dead2, this macro falls back to using the GCC attribute. Unfortunately, clang currently sets the same value for the C version macro in C99 and C1x modes, so these functions are hidden by default. At some point before 10.0, I need to go through the headers and clean up the C1x / C++11 visibility. Reviewed by: brooks (mentor)
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Nov 20 14:45:42 2011 UTC (2 months, 2 weeks ago) by theraven
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -2 lines
SVN rev 227753 on 2011-11-20 14:45:42Z by theraven Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a load of _l suffixed versions of various standard library functions that use the global locale, making them take an explicit locale parameter. Also adds support for per-thread locales. This work was funded by the FreeBSD Foundation. Please test any code you have that uses the C standard locale functions! Reviewed by: das (gdtoa changes) Approved by: dim (mentor)
Revision 1.75.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (2 months, 4 weeks ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.75.2.1: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith Copy head to stable/9 as part of 9.0-RELEASE release cycle. Approved by: re (implicit)
Revision 1.65.12.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release. Approved by: re (implicit)
Revision 1.72.2.2.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.72.2.2: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.2: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release. Approved by: re (implicit)
Revision 1.72.2.2.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.72.2.2: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.2: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith Copy stable/8 to releng/8.1 in preparation for 8.1-RC1. Approved by: re (implicit)
Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Tue May 4 05:34:18 2010 UTC (21 months, 1 week ago) by kib
Branches: RELENG_8
CVS tags: RELENG_8_2_BP, RELENG_8_1_BP
Branch point for: RELENG_8_2, RELENG_8_1
Diff to: previous 1.72.2.1: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.1: +1 -1 lines
SVN rev 207599 on 2010-05-04 05:34:18Z by kib MFC r206893: Slightly modernize realpath(3). SUSv4 requires that implementation returns EINVAL if supplied path is NULL, and ENOENT if path is empty string [1]. Bring prototype in conformance with SUSv4, adding restrict keywords. Allow the resolved path buffer pointer be NULL, in which case realpath(3) allocates storage with malloc(). MFC r206898: Free() is not allowed to modify errno, remove safety brackets around it. Add small optimization, do not copy a string to the buffer that is to be freed immediately after. MFC r206997: Move realpath(3) prototype to a POSIX section. MFC r206998: Add standards section, improve wording, taking into account the handling of NULL and changed type in declaration.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Wed Apr 21 16:38:37 2010 UTC (21 months, 2 weeks ago) by kib
Branches: MAIN
CVS tags: RELENG_9_BP
Branch point for: RELENG_9
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +1 -1 lines
SVN rev 206997 on 2010-04-21 16:38:37Z by kib Move realpath(3) prototype to a POSIX section. Noted by: bde MFC after: 2 weeks
Revision 1.74: download - view: text, markup, annotated - select for diffs
Tue Apr 20 10:16:44 2010 UTC (21 months, 3 weeks ago) by kib
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +1 -1 lines
SVN rev 206893 on 2010-04-20 10:16:44Z by kib Slightly modernize realpath(3). SUSv4 requires that implementation returns EINVAL if supplied path is NULL, and ENOENT if path is empty string [1]. Bring prototype in conformance with SUSv4, adding restrict keywords. Allow the resolved path buffer pointer be NULL, in which case realpath(3) allocates storage with malloc(). PR: kern/121897 [1] MFC after: 2 weeks
Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Feb 16 19:39:50 2010 UTC (23 months, 3 weeks ago) by imp
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +1 -5 lines
SVN rev 203964 on 2010-02-16 19:39:50Z by imp Remove the Berkeley clause 3's. Add a few $FreeBSD$
Revision 1.65.10.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process. Approved by: re (implicit)
Revision 1.72.2.1.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.72.2.1: preferred, colored; next MAIN 1.72.2.2: preferred, colored
Changes since revision 1.72.2.1: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure. Approved by: re (implicit)
Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith Copy head to stable/8 as part of 8.0 Release cycle. Approved by: re (Implicit)
Revision 1.65.8.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE. Approved by: re (implicit)
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Mar 14 19:13:30 2009 UTC (2 years, 10 months ago) by das
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +1 -1 lines
SVN rev 189820 on 2009-03-14 19:13:30Z by das Namespace: abort2() is a BSD extension.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sat Mar 14 02:31:48 2009 UTC (2 years, 10 months ago) by das
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +1 -1 lines
SVN rev 189782 on 2009-03-14 02:31:48Z by das r189349 removed mktemp() from the XSI namespace when __XOPEN_SOURCE >= 700, since mktemp() was withdrawn from the standard. However, __XSI_VISIBLE is set to 700 in the default BSD envrionment, where mktemp() should still exist; hence, check for this.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed Mar 4 03:31:10 2009 UTC (2 years, 11 months ago) by das
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +13 -6 lines
SVN rev 189349 on 2009-03-04 03:31:10Z by das - Add getsubopt and mkdtemp to the POSIX.1-2008 namespace. - Add mkstemp to the POSIX.1-2008 and BSD namespaces. - Remove mktemp from the XSI namespace.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Wed Feb 11 20:24:59 2009 UTC (2 years, 11 months ago) by ed
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -0 lines
SVN rev 188497 on 2009-02-11 20:24:59Z by ed Add two new routines: fdevname() and fdevname_r(). A more elegant way of obtaining a name of a character device by its file descriptor on FreeBSD, is to use the FIODGNAME ioctl. Because a valid file descriptor implies a file descriptor is visible in /dev, it will always resolve a valid device name. I'm adding a more friendly wrapper for this ioctl, called fdevname(). It is a lot easier to use than devname() and also has better error handling. When a device name cannot be resolved, it will just return NULL instead of a generated device name that makes no sense. Discussed with: kib
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Jan 31 18:27:02 2009 UTC (3 years ago) by das
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -2 lines
SVN rev 187961 on 2009-01-31 18:27:02Z by das
Add a function attribute called `__malloc_like', which informs gcc
that the annotated function returns a pointer that doesn't alias any
extant pointer. This results in a 50%+ speedup in microbenchmarks such
as the following:
char *cp = malloc(1), *buf = malloc(BUF);
for (i = 0; i < BUF; i++) buf[i] = *cp;
In real programs, your mileage will vary. Note that gcc already
performs this optimization automatically for any function called
`malloc', `calloc', `strdup', or `strndup' unless -fno-builtins is
used.
Revision 1.65.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith Create releng/7.1 in preparation for moving into RC phase of 7.1 release cycle. Approved by: re (implicit)
Revision 1.57.2.2.8.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.57.2.2: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.2: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith Create releng/6.4 from stable/6 in preparation for 6.4-RC1. Approved by: re (implicit)
Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Jul 22 11:40:42 2008 UTC (3 years, 6 months ago) by ache
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -0 lines
SVN rev 180689 on 2008-07-22 11:40:42Z by ache Add arc4random_uniform() Obtained from: OpenBSD
Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Jul 21 14:03:04 2008 UTC (3 years, 6 months ago) by ache
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -1 lines
SVN rev 180658 on 2008-07-21 14:03:04Z by ache Add arc4random_buf. Style: remove arg names from arc4random_addrandom.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Jul 4 00:00:38 2007 UTC (4 years, 7 months ago) by scf
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_4_BP, RELENG_7_3_BP, RELENG_7_2_BP, RELENG_7_1_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0, RELENG_7
Branch point for: RELENG_7_4, RELENG_7_3, RELENG_7_2, RELENG_7_1
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -2 lines
Significantly reduce the memory leak as noted in BUGS section for setenv(3) by tracking the size of the memory allocated instead of using strlen() on the current value. Convert all calls to POSIX from historic BSD API: - unsetenv returns an int. - putenv takes a char * instead of const char *. - putenv no longer makes a copy of the input string. - errno is set appropriately for POSIX. Exceptions involve bad environ variable and internal initialization code. These both set errno to EFAULT. Several patches to base utilities to handle the POSIX changes from Andrey Chernov's previous commit. A few I re-wrote to use setenv() instead of putenv(). New regression module for tools/regression/environ to test these functions. It also can be used to test the performance. Bump __FreeBSD_version to 700050 due to API change. PR: kern/99826 Approved by: wes Approved by: re (kensmith)
Revision 1.64: download - view: text, markup, annotated - select for diffs
Tue May 1 16:02:44 2007 UTC (4 years, 9 months ago) by ache
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -2 lines
Back out all POSIXified *env() changes. Not because I admit they are technically wrong and not because of bug reports (I receive nothing). But because I surprisingly meets so strong opposition and resistance so lost any desire to continue that. Anyone who interested in POSIX can dig out what changes and how through cvs diffs.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Apr 30 02:27:43 2007 UTC (4 years, 9 months ago) by ache
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -2 lines
Fix unsetenv and putenv prototypes to conform Open Group specs Issue 6 (also IEEE Std 1003.1-2001)
Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 4 19:56:46 2006 UTC (5 years, 10 months ago) by andre
Branches: RELENG_6
CVS tags: RELENG_6_4_BP, RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1
Branch point for: RELENG_6_4
Diff to: previous 1.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.1: +2 -0 lines
MFC of import of OpenBSD's strtonum(3). Approved by: re
Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Mar 14 16:57:30 2006 UTC (5 years, 10 months ago) by andre
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -0 lines
Import of OpenBSD's strtonum(3) which is a nicer version of strtoll(3) providing proper error checking and other improvements. Obtained from: OpenBSD Requested by: flz (to port Open[BGP|OSPF]D) MFC after: 3 days
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 27 05:17:25 2006 UTC (6 years ago) by trhodes
Branches: RELENG_6
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -2 lines
MFC: Add a64l(), l64a(), and l64a_r() XSI extentions. These functions convert between a 32-bit integer and a radix-64 ASCII string. The l64a_r() function is a NetBSD addition. PR: 51209 (based on submission, but very different) Reviewed by: bde, ru
Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Jan 12 07:58:59 2006 UTC (6 years ago) by jasone
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -1 lines
Expose the posix_memalign() prototype, now that the function is implemented by libc.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Dec 24 22:37:58 2005 UTC (6 years, 1 month ago) by trhodes
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -2 lines
Add a64l(), l64a(), and l64a_r() XSI extentions. These functions convert between a 32-bit integer and a radix-64 ASCII string. The l64a_r() function is a NetBSD addition. PR: 51209 (based on submission, but very different) Reviewed by: bde, ru
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Dec 23 12:28:10 2005 UTC (6 years, 1 month ago) by phk
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +1 -0 lines
Add abort2() prototype
Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Sep 12 15:58:15 2005 UTC (6 years, 4 months ago) by stefanf
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -2 lines
Fix the prototypes for devname() and devname_r(), the first two argument types are supposed to be dev_t and mode_t (prefixed with __ due to namespace reasons).
Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Jan 9 03:55:12 2005 UTC (7 years, 1 month ago) by tjr
Branches: MAIN
CVS tags: RELENG_6_BP, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0
Branch point for: RELENG_6
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +1 -0 lines
Implement rpmatch(), a semi-standard interface (as found on AIX, Tru64, GNU) for determining whether a string is an affirmative or negative response to a question according to the current locale. This is done by matching the response against nl_langinfo(3) items YESEXPR and NOEXPR.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Feb 23 03:16:58 2004 UTC (7 years, 11 months ago) by ache
Branches: MAIN
CVS tags: RELENG_5_BP, RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3, RELENG_5
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -3 lines
POSIX clearly states that getsubopt() should be declared in <stdlib.h>, not in <unistd.h>
Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Thu Dec 18 00:59:50 2003 UTC (8 years, 1 month ago) by peter
Branches: RELENG_5_2
CVS tags: RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +1 -4 lines
MFC: add sys/_null.h and change the definition of NULL to a long on ia64 and amd64. Ensure that this is not accidently activated on any platforms other than these two since its quite late in the release cycle and it is not worth the risk of disturbing to the established platforms. Approved by: re (scottl, jhb)
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Dec 7 21:10:06 2003 UTC (8 years, 2 months ago) by marcel
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +1 -4 lines
Change the definition of NULL on ia64 (for LP64 compilations) from an int constant to a long constant. This change improves consistency in the following two ways: 1. The first 8 arguments are always passed in registers on ia64, which by virtue of the generated code implicitly widens ints to longs and allows the use of an 32-bit integral type for 64-bit arguments. Subsequent arguments are passed onto the memory stack, which does not exhibit the same behaviour and consequently do not allow this. In practice this means that variadic functions taking pointers and given NULL (without cast) work as long as the NULL is passed in one of the first 8 arguments. A SIGSEGV is more likely the result if such would be done for stack-based arguments. This is due to the fact that the upper 4 bytes remain undefined. 2. All 64-bit platforms that FreeBSD supports, with the obvious exception of ia64, allow 32-bit integral types (specifically NULL) when 64-bit pointers are expected in variadic functions by way of how the compiler generates code. As such, code that works correctly (whether rightfully so or not) on any platform other than ia64, may fail on ia64. To more easily allow tweaking of the definition of NULL, this commit removes the 12 definitions in the various headers and puts it in a new header that can be included whenever NULL is to be made visible. This commit fixes GNOME, emacs, xemacs and a whole bunch of ports that I don't particularly care about at this time...
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Jun 25 19:06:40 2003 UTC (8 years, 7 months ago) by obrien
Branches: MAIN
CVS tags: RELENG_5_2_BP
Branch point for: RELENG_5_2
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +0 -2 lines
Push the alloca #error warning farther down to play nicer with some out of tree local translator. Requested by: jmallett
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Jun 25 18:49:36 2003 UTC (8 years, 7 months ago) by obrien
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -1 lines
Fix a mismerge.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Jun 25 18:11:32 2003 UTC (8 years, 7 months ago) by obrien
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +5 -4 lines
Don't blindly provide alloca() for all compilers -- it is too implementation dependent. Instead provide one for GCC & Intel's GCC copy and one for lint. Anyone using any other translator tool needs to look closely at how that tool can handle alloca.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Jun 22 10:34:49 2003 UTC (8 years, 7 months ago) by dwmalone
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +1 -1 lines
Remove argument names from a function declaration. Reviewed by: phk
Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Jun 20 09:52:27 2003 UTC (8 years, 7 months ago) by phk
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +1 -0 lines
Add devname_r(3) which takes a buffer as argument.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sun Jun 15 11:01:52 2003 UTC (8 years, 7 months ago) by des
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +17 -1 lines
Use __builtin_alloca() on compilers that have it. Keep the prototype for
the benefit of lint and non-{GNU,Intel} compilers.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Mar 12 20:29:58 2003 UTC (8 years, 11 months ago) by das
Branches: MAIN
CVS tags: RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
Replace our ancient dtoa/strtod implementation with the gdtoa package, a more recent, generalized set of routines. Among the changes: - Declare strtof() and strtold() in stdlib.h. - Add glue to libc to support these routines for all kinds of ``long double''. - Update printf() to reflect the fact that dtoa works slightly differently now. As soon as I see that nothing has blown up, I will kill src/lib/libc/stdlib/strtod.c. Soon printf() will be able to use the new routines to output long doubles without loss of precision, but numerous bugs in the existing code must be addressed first. Reviewed by: bde (briefly), mike (mentor), obrien
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 8 10:12:13 2003 UTC (9 years, 1 month ago) by obrien
Branches: RELENG_5_0
CVS tags: RELENG_5_0_0_RELEASE
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +1 -1 lines
MFC: revert getbsize's headerlenp argument back to an int *. Approved by: re
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Jan 2 20:44:41 2003 UTC (9 years, 1 month ago) by jmallett
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4 lines
Implement POSIX grantpt(3) functionality, and add a pt_chown utility (akin to Solaris, it is in /usr/libexec) to perform the handing over of tty nodes to the user being granted the pty. Submitted by: Ryan Younce <ryany@pobox.com> Reviewed by: security-officer@, standards@, mike@
Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Dec 30 11:12:16 2002 UTC (9 years, 1 month ago) by obrien
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +1 -1 lines
Back out the s/int */size_t */ commit. It makes a difference on 64-bit arches, and no one really wants a 2^64 block size [yet].
Revision 1.16.2.5: download - view: text, markup, annotated - select for diffs
Fri Dec 13 01:34:00 2002 UTC (9 years, 2 months ago) by tjr
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.16.2.4: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.4: +4 -0 lines
Only prototype strtoll() and strtoull() if "long long" is supported. Fixes warnings from <stdlib.h> in files compiled with gcc -ansi -pedantic. PR: 43780
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Oct 23 14:18:07 2002 UTC (9 years, 3 months ago) by markm
Branches: MAIN
CVS tags: RELENG_5_0_BP
Branch point for: RELENG_5_0
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -1 lines
Make the first argument of getbsize a size_t* instead of an int*, as this is what the quantity actually is. Fix an easy const while I'm here.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Sep 21 22:05:37 2002 UTC (9 years, 4 months ago) by bde
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +21 -20 lines
Whitespace cleanup (half for fixing missing whitespace before `__restrict' again). Removed the second pair of banal comments about `quot' and `rem'.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Sep 21 02:03:58 2002 UTC (9 years, 4 months ago) by wollman
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +104 -52 lines
Use new visibility macros. Reorder some disordered declarations. Add new 1003.1-2001 declarations, commented out in cases where we do not implement the function. Note that strtoq() and strtouq() are slated for deletion in 6.0. (2 of 5)
Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Sep 10 02:02:49 2002 UTC (9 years, 5 months ago) by wollman
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -2 lines
Without fixing the namespace issues, add prototypes for the new _Exit() and qsort_r() functions. Fix one other missorted declaration.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Sep 6 11:23:32 2002 UTC (9 years, 5 months ago) by tjr
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +8 -8 lines
Style: One space between "restrict" qualifier and "*".
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Sep 1 07:08:22 2002 UTC (9 years, 5 months ago) by tjr
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
Add restrict qualifiers to the arguments of mbstowcs, mbtowc() and wcstombs().
Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Aug 21 16:19:55 2002 UTC (9 years, 5 months ago) by mike
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +10 -11 lines
o Merge <machine/ansi.h> and <machine/types.h> into a new header
called <machine/_types.h>.
o <machine/ansi.h> will continue to live so it can define MD clock
macros, which are only MD because of gratuitous differences between
architectures.
o Change all headers to make use of this. This mainly involves
changing:
#ifdef _BSD_FOO_T_
typedef _BSD_FOO_T_ foo_t;
#undef _BSD_FOO_T_
#endif
to:
#ifndef _FOO_T_DECLARED
typedef __foo_t foo_t;
#define _FOO_T_DECLARED
#endif
Concept by: bde
Reviewed by: jake, obrien
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Aug 15 09:25:03 2002 UTC (9 years, 5 months ago) by robert
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -5 lines
- Add the 'restrict' qualifier to the function prototypes and definitions of the functions that convert strings to numbers and are defined by IEEE Std 1003-1.2001. - Use ANSI-C function definitions for all of the functions mentioned above plus strtouq and strtoq. - Update the prototypes in the manual pages.
Revision 1.16.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 7 15:49:32 2002 UTC (9 years, 6 months ago) by imp
Branches: RELENG_4
CVS tags: RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7
Diff to: previous 1.16.2.3: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.3: +2 -0 lines
MFC stdlib 1.37 and stddef 1.7: don't define wchar_t if C++
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Jul 9 05:13:30 2002 UTC (9 years, 7 months ago) by obrien
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -0 lines
Don't define wchar_t if we are a C++ compiler. PR: 31864, 40084
Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Jul 4 11:07:48 2002 UTC (9 years, 7 months ago) by markm
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +5 -0 lines
Convince lint via the standard lint-comment /* LONGLONG */ to not whine about our (valid) "long long" usage.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu May 30 21:59:13 2002 UTC (9 years, 8 months ago) by phk
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +1 -1 lines
Const poison. Partially submitted by: wollman
Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Apr 24 16:49:34 2002 UTC (9 years, 9 months ago) by phk
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -1 lines
Constify _malloc_options.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Mar 23 17:24:53 2002 UTC (9 years, 10 months ago) by imp
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +86 -88 lines
Breath deep and take __P out of the system include files. # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Mar 22 02:43:00 2002 UTC (9 years, 10 months ago) by imp
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +7 -7 lines
const poison just like NetBSD.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Feb 14 01:59:47 2002 UTC (9 years, 11 months ago) by imp
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +0 -2 lines
Move user_from_uid to pwd.h Move group_from_gid to grp.h Remove from stdlib.h Make the prototypes match the code Fix rm and mv to include new files. NetBSD has these defined in those files, and others too that I've not done. Approved by: terminal room kabal Reviewed by: jhb, phk
Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Feb 13 10:11:38 2002 UTC (9 years, 11 months ago) by imp
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
Revert 1.29. It breaks the build. Will figure out a better way to do this that doesn't break things.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Feb 13 09:33:00 2002 UTC (9 years, 11 months ago) by imp
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
Make the user_from_uid and group_from_gid prototypes match the actual function definitions.
Revision 1.16.2.3: download - view: text, markup, annotated - select for diffs
Thu Dec 27 20:35:34 2001 UTC (10 years, 1 month ago) by mike
Branches: RELENG_4
CVS tags: RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_6, RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5
Diff to: previous 1.16.2.2: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.2: +2 -2 lines
MFC: Fix support for K&R C. Approved by: re
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Dec 22 05:18:37 2001 UTC (10 years, 1 month ago) by mike
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -1 lines
Fix support for K&R C. MFC after: 3 days
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Nov 29 07:08:56 2001 UTC (10 years, 2 months ago) by bde
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4 lines
Oops, actually fix the namespace pollution for atoll() as the previous commit claimed to do.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Nov 28 19:52:25 2001 UTC (10 years, 2 months ago) by bde
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +21 -16 lines
Fixed namespace pollution and/or breakage of K&R and C90 support related to the following functions in the following commits: - atoll() in revs 1.23-1.25 - llabs() and lldiv() in revs 1.22 - strtoq() and strtouq() in revs 1.18 C99 functions must not be declared in C90/POSIX.1-1990 sections, and "long long" must not be exposed to compilers that don't support it. Fixed style bugs (mainly misindentation and disorder) related the following functions in the following commits: - atoll() in revs 1.23-1.25 - getprogname() in rev.1.21 - sranddev() in revs 1.19-1.20 - strtoq() and strtouq() in rev.1.13 - user_from_uid() in rev.1.1 Breakage of K&R and C90 support used to be avoided by conditializing the "long long"s for strtoq() and strtouq() on __STRICT_ANSI__, but the conditionals should have gone away in rev.1.13 when the "long long"s went away (the problem was moved to the places that declare quad_t and u_quad_t).
Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Nov 28 02:18:53 2001 UTC (10 years, 2 months ago) by ache
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -1 lines
Whitespace formatting
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Nov 28 01:51:00 2001 UTC (10 years, 2 months ago) by ache
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -1 lines
Fix just added atoll prototype
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Nov 28 01:22:08 2001 UTC (10 years, 2 months ago) by ache
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -0 lines
Add atoll(3) to conform POSIX and C99
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Nov 15 02:05:03 2001 UTC (10 years, 2 months ago) by mike
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +14 -1 lines
o Implement imaxabs(), imaxdiv(), llabs(), lldiv(). o Update abs(3), div(3), labs(3), ldiv(3) to reflect standards conformance and add additional references. Reviewed by: bde, wollman
Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 14 00:06:10 2001 UTC (10 years, 8 months ago) by dd
Branches: RELENG_4
CVS tags: RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.1: +4 -1 lines
MFC: getprogname(3) and setprogname(3)
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue May 15 23:41:00 2001 UTC (10 years, 8 months ago) by dd
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -1 lines
Introduce getprogname(3) and setprogname(3) library calls. These get and set __progname, respectively. Discussed on: -arch (Feb 2001), -audit Reviewed by: -audit Approved by: kris Obtained from: (mostly) NetBSD
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Apr 23 09:32:06 2001 UTC (10 years, 9 months ago) by ache
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
Move sranddev() to !ANSI_SOURCE !POSIX_SOURCE section Pointed out by: bde
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Apr 23 02:29:51 2001 UTC (10 years, 9 months ago) by ache
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
Add sranddev() prototype
Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Fri Mar 2 09:45:19 2001 UTC (10 years, 11 months ago) by obrien
Branches: RELENG_4
CVS tags: RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -1 lines
MFC: Impliment the ISO-C99 strto[u]ll()
and rewrite strto[u]q() in terms of it.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Feb 27 13:33:06 2001 UTC (10 years, 11 months ago) by obrien
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -1 lines
Impliment the ISO-C99 strto[u]ll() and rewrite strto[u]q() in terms of it.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Sun Nov 26 10:30:13 2000 UTC (11 years, 2 months ago) by phk
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -1 lines
Make it possible to override the function which writes messages to stderr in case of warnings and errors. Rename malloc_options to have a leading underscore, I belive I have been told that is more correct namespace wise.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Dec 23 15:58:20 1999 UTC (12 years, 1 month ago) by bde
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_2_0_RELEASE, RELENG_4_1_1_RELEASE, RELENG_4_1_0_RELEASE, RELENG_4_0_0_RELEASE, PRE_SMPNG
Branch point for: RELENG_4
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -0 lines
Fixed missing declaration of rand_r(3).
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Dec 19 00:02:12 1998 UTC (13 years, 1 month ago) by dt
Branches: MAIN
CVS tags: RELENG_3_BP, RELENG_3_5_0_RELEASE, RELENG_3_4_0_RELEASE, RELENG_3_3_0_RELEASE, RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE, RELENG_3_1_0_RELEASE, RELENG_3
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -5 lines
Little reorganization: - created internal names for fixed-size integral types, like __int32_t. They will be used to make several headers self-sufficient. - <stdlib.h> don't include <machine/types.h> anymore. - created <sys/inttypes.h>, which can be used as <inttypes.h>. - declaration of uoff_t and ufs_daddr_t moved to <sys/types.h>. Reviewed by: bde
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Sep 14 20:34:34 1998 UTC (13 years, 4 months ago) by imp
Branches: MAIN
CVS tags: RELENG_3_0_0_RELEASE
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +1 -0 lines
Add reallocf to the library. This function is simliar to realloc, but when it returns NULL to indicate failure, it will also free the memory that was passed to it, if that was non-null. This does not change the semantics of realloc. A second commit will be done to commit the conversion of those places in the code that can safely use this to avoid memory leaks when confronted with low memory situations. Beaten-to-death-but-finally-approved-in: -current
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon May 11 09:22:21 1998 UTC (13 years, 9 months ago) by jb
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -3 lines
Change the return types for strtoq and strtouq to int64_t and u_int64_t instead of long long and unsigned long long. Really they should be quad_t and u_quad_t, but that would require sys/types.h and this header only includes machine/types.h. The difference here is that int64_t and u_int64_t on alpha are long and unsigned long, not long long etc. This is required to pass gcc's type checking where long != long long even though they are the same size of alpha.
Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 2 21:34:41 1998 UTC (13 years, 11 months ago) by jkh
Branches: RELENG_2_2
CVS tags: RELENG_2_2_8_RELEASE, RELENG_2_2_7_RELEASE, RELENG_2_2_6_RELEASE
Diff to: previous 1.6.2.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.1: +2 -2 lines
MFC: merge r1.12. I was too conservative to merge this before. Requested by: bde
Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 1 17:44:00 1998 UTC (13 years, 11 months ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +9 -2 lines
MRC: arc4random prototypes.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Feb 27 06:12:47 1998 UTC (13 years, 11 months ago) by bde
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
Moved include of <sys/cdefs.h> earlier for the same reasons as moving it in <sys/types.h>. PR: 5785
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Jun 14 10:45:25 1997 UTC (14 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -2 lines
Move machine/types.h to non-standard section Change order of arc4* functions Pointed-by: bde
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jun 14 01:33:52 1997 UTC (14 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -0 lines
Add arc4random family declaration
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Jun 14 00:14:29 1997 UTC (14 years, 8 months ago) by ache
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -1 lines
Instead of copying fallback code over and over in each program, implement (better) falback code inside srandomdev() itself. Change return type from int to void (binary compatibility surprisely achieved). Userland code will be changed soon.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Mar 23 22:44:27 1997 UTC (14 years, 10 months ago) by ache
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -0 lines
Add srandomdev() prototype
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Mar 11 11:18:25 1997 UTC (14 years, 11 months ago) by peter
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -10 lines
Merge Lite2 changes - move getopt etc declarations from stdlib.h to unistd.h
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Mar 11 11:11:33 1997 UTC (14 years, 11 months ago) by peter
Branches: CSRG
CVS tags: bsd_44_lite_2
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +3 -10 lines
Import CSRG 4.4BSD-Lite2 includes onto vendor branch
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Sep 14 02:57:05 1996 UTC (15 years, 5 months ago) by bde
Branches: MAIN
CVS tags: RELENG_2_2_BP, RELENG_2_2_5_RELEASE, RELENG_2_2_2_RELEASE, RELENG_2_2_1_RELEASE, RELENG_2_2_0_RELEASE
Branch point for: RELENG_2_2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -12 lines
Don't use __dead or __pure in user code. They were obfuscations for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong.
Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Wed Jun 5 02:44:20 1996 UTC (15 years, 8 months ago) by jkh
Branches: RELENG_2_1_0
CVS tags: RELENG_2_1_7_RELEASE, RELENG_2_1_6_RELEASE, RELENG_2_1_6_1_RELEASE, RELENG_2_1_5_RELEASE
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.1: +3 -7 lines
This 3rd mega-commit should hopefully bring us back to where we were. I can get it to `make world' succesfully, anyway!
Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 3 05:03:23 1996 UTC (15 years, 8 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -3 lines
Phase 2 of merge - also fix things broken in phase 1. Watch out for falling rock until phase 3 is over! libc completely merged except for phkmalloc & rfork (don't know if David wants that). Some include files in sys/ had to be updated in order to bring in libc.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed May 1 00:39:58 1996 UTC (15 years, 9 months ago) by bde
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -3 lines
Fixed longstanding namespace convolution involving rune_t vs wchar_t. If _ANSI_SOURCE or _POSIX_SOURCE is defined, then <ctype.h> had to be included before <stddef.h> or <stdlib.h> to get rune_t declared. Now rune_t is declared perfectly bogusly in all cases when <ctype.h> is included. This change breaks similar (but more convoluted) convolutions in the stddef.h in gcc distributions. Ports of gcc should avoid using the gcc headers.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Apr 15 23:48:16 1995 UTC (16 years, 10 months ago) by bde
Branches: MAIN
CVS tags: RELENG_2_1_0_RELEASE, RELENG_2_1_0_BP, RELENG_2_0_5_RELEASE, RELENG_2_0_5_BP, RELENG_2_0_5_ALPHA, RELENG_2_0_5
Branch point for: RELENG_2_1_0
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +19 -21 lines
Don't declare rune_t, putenv() or setenv() if _POSIX_SOURCE is declared. Previously they were only guarded by `#ifndef _ANSI_SOURCE'. They are neither ANSI nor POSIX nor std and should never have been declared here. Declare functions like abs() as having attribute `__pure2'. Declaring them as having type `__pure' has been a no-op for some time. Delete obsolete comment about stub locale functions. Use consistent formatting for the rand48 functions. These and about 30 other functions should never have been declared here either.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Nov 21 09:25:58 1994 UTC (17 years, 2 months ago) by ats
Branches: MAIN
CVS tags: RELEASE_2_0
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -0 lines
Reviewed by: Bruce Evans Add prototypes for the *rand48 family here in the moment to get them running again.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Sep 8 10:29:14 1994 UTC (17 years, 5 months ago) by bde
Branches: MAIN
CVS tags: before_new_bind, after_bind_commit, BETA_2_0, ALPHA_2_0
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Declare functions that don't return as having attribute __dead2.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue May 24 09:57:08 1994 UTC (17 years, 8 months ago) by rgrimes
Branches: CSRG
CVS tags: bsd_44_lite
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
BSD 4.4 Lite Include Sources
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue May 24 09:57:07 1994 UTC (17 years, 8 months ago) by rgrimes
Branches: MAIN
Initial revision
