Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0 |
|
#
763ffc12 |
| 22-Nov-2020 |
Sascha Wildner <saw@online.de> |
Clean up the namespace of <arpa/inet.h>, <netdb.h> and <netinet/in.h>.
These are further cleanups for stricter POSIX conformance, all related to the uint*_t types, for which we previously had to inc
Clean up the namespace of <arpa/inet.h>, <netdb.h> and <netinet/in.h>.
These are further cleanups for stricter POSIX conformance, all related to the uint*_t types, for which we previously had to include <stdint.h> wholesale. Instead, wrap them in *_DECLARED macros and typedef them in the headers that need them, usually just a subset.
Thanks to zrj for testing this with a dports bulk build.
show more ...
|
Revision tags: v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3 |
|
#
9d4f17d1 |
| 10-Nov-2019 |
zrj <rimvydas.jasinskas@gmail.com> |
Adjust headers for <machine/stdint.h> visibility.
This also reduces namespace pollution a bit. Include <machine/stdint.h> where <stdint.h> is used too. External compiler under -ffreestanding (_
Adjust headers for <machine/stdint.h> visibility.
This also reduces namespace pollution a bit. Include <machine/stdint.h> where <stdint.h> is used too. External compiler under -ffreestanding (__STDC_HOSTED__ == 0) will use their own <stdint.h> version and will not include <machine/stdint.h>.
show more ...
|
#
125cd2f0 |
| 10-Nov-2019 |
zrj <rimvydas.jasinskas@gmail.com> |
<stdint.h>: Move out ptrdiff_t type.
The ISO C does not specify that <stdint.h> should provide this type, this type should be declared in <stddef.h> for use by userland.
Since we do not want to
<stdint.h>: Move out ptrdiff_t type.
The ISO C does not specify that <stdint.h> should provide this type, this type should be declared in <stddef.h> for use by userland.
Since we do not want to create a separate header for this useful type to be used by kernel, move it to <sys/types.h> under _KERNEL visibility.
Adjust few places to include <stddef.h> with a minor whitespace cleanup.
show more ...
|
#
830c4f34 |
| 02-Nov-2019 |
zrj <rimvydas.jasinskas@gmail.com> |
<stdint.h>: Remove C99 constant/limits guards for c++.
It seems that in C11 problematic clauses where removed. This removes the inconsistency for -std=c++98 between base and DPorts c++ compilers
<stdint.h>: Remove C99 constant/limits guards for c++.
It seems that in C11 problematic clauses where removed. This removes the inconsistency for -std=c++98 between base and DPorts c++ compilers (that have #include_next <stdint.h> wrapper for this particular issue). For now keep guard defines in <sys/cdefs.h> because of those wrappers.
No functional change in buildworld.
show more ...
|
#
a44a78be |
| 02-Nov-2019 |
zrj <rimvydas.jasinskas@gmail.com> |
<wchar.h>: Implement correct limits for different wchar_t flavors.
Try best to select correct limits while always using handpicked standard C wchar_t bounds that match internal rune_t and standard
<wchar.h>: Implement correct limits for different wchar_t flavors.
Try best to select correct limits while always using handpicked standard C wchar_t bounds that match internal rune_t and standard wint_t types. It might be worth to switch to using compiler provided limits for all. The <stdint.h> header should provide limits for all types in standard headers, so provide wint_t (<wchar.h>, <wctype.h>) limits too. The <machine/wchar_limits.h> idea taken from NetBSD.
show more ...
|
#
9508afe9 |
| 11-Sep-2019 |
zrj <rimvydas.jasinskas@gmail.com> |
<unistd.h>: Declare intptr_t as per X/Open.
No functional change yet, for future reference.
|
#
086b156c |
| 09-Sep-2019 |
Sascha Wildner <saw@online.de> |
libc: Add gets_s(3) from ISO/IEC TR 24731-1.
For more information see the Technical Report (drafts of it are on the web) or e.g. http://en.cppreference.com/w/c/io/gets.
This also adds set_constrain
libc: Add gets_s(3) from ISO/IEC TR 24731-1.
For more information see the Technical Report (drafts of it are on the web) or e.g. http://en.cppreference.com/w/c/io/gets.
This also adds set_constraint_handler_s(), abort_handler_s(), ignore_handler_s(), the RSIZE_MAX define, and the types rsize_t, errno_t and constraint_handler_t.
Visibility is restricted to our default environment by default, but can be enabled by defining __STDC_WANT_LIB_EXT1__ to 1, per the TR.
While here, put gets()'s documentation into a manual page of its own with a note that it is depracated. We'll likely remove it from libc too at a later point in time.
Requested-by: zrj Taken-from: FreeBSD (with some adjustments)
show more ...
|
Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0 |
|
#
86d7f5d3 |
| 26-Nov-2011 |
John Marino <draco@marino.st> |
Initial import of binutils 2.22 on the new vendor branch
Future versions of binutils will also reside on this branch rather than continuing to create new binutils branches for each new version.
|
Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0, v2.3.2 |
|
#
0d2a1dea |
| 27-May-2009 |
Simon Schubert <corecode@dragonflybsd.org> |
stdint.h: rearrange declarations into separate files
The current machine/stdint.h situation is a mess. It declares only the __versions of stdint integers, but also defines limit and constant macros
stdint.h: rearrange declarations into separate files
The current machine/stdint.h situation is a mess. It declares only the __versions of stdint integers, but also defines limit and constant macros. Furthermore it also declares non-integer types.
Break out integer limit and constant macros into their own machine/ headers and include all of these headers from <stdint.h>, but not from machine/stdint.h. The declaration of integer_t types still happens in main stdint.h.
This is slightly based on NetBSD's way of doing it.
show more ...
|
Revision tags: v2.3.1, v2.2.1, v2.2.0, v2.3.0, v2.1.1, v2.0.1 |
|
#
a81b3ef3 |
| 15-Nov-2003 |
Jeroen Ruigrok/asmodai <asmodai@dragonflybsd.org> |
Change wrapping definition from ending in DECLARED_ to DECLARED. This makes it consistent with other definitions and has as added bonus that rpm compiles again. Furthermore it keeps us synchronised t
Change wrapping definition from ending in DECLARED_ to DECLARED. This makes it consistent with other definitions and has as added bonus that rpm compiles again. Furthermore it keeps us synchronised to FreeBSD 5.x.
show more ...
|
#
e2565a42 |
| 09-Nov-2003 |
Matthew Dillon <dillon@dragonflybsd.org> |
Core integer types header file reorganization stage 1/2: Create and/or modify intttypes.h and stdint.h plus the opaque underlying support in sys/ and machine/ according to the OpenGroup specification
Core integer types header file reorganization stage 1/2: Create and/or modify intttypes.h and stdint.h plus the opaque underlying support in sys/ and machine/ according to the OpenGroup specifications.
These changes are loosely based on FreeBSD-5 but use far saner type names and include dependancies.
show more ...
|