f0cd4ace | 26-Jan-2016 |
Sascha Wildner <saw@online.de> |
<limits.h>: Several changes related to Issue 7 of the standard.
* NL_NMAX was removed, so change its visibility accordingly.
* NL_ARGMAX, NL_MSGMAX, NL_SETMAX and NL_TEXTMAX were moved from XSI i
<limits.h>: Several changes related to Issue 7 of the standard.
* NL_NMAX was removed, so change its visibility accordingly.
* NL_ARGMAX, NL_MSGMAX, NL_SETMAX and NL_TEXTMAX were moved from XSI into the base. Adjust for that too. The change history does not mention NL_ARGMAX but the [XSI] margin code was removed from it so I think this is just an oversight.
The 32 ports that reference NL_NMAX, which is the only of these defines where visibility was restricted with this commit, all still build.
show more ...
|
3b63b459 | 27-Oct-2015 |
Sascha Wildner <saw@online.de> |
<stdlib.h>/<unistd.h>: Expose mkdtemp()'s prototype also if XSI is visible.
The history of this function in the specs seems to be a bit convoluted for this function, to say the least. Even though I
<stdlib.h>/<unistd.h>: Expose mkdtemp()'s prototype also if XSI is visible.
The history of this function in the specs seems to be a bit convoluted for this function, to say the least. Even though I can't find it in either Issue 5 or 6, go with what Issue 7's HISTORY says and treat it like it was moved from XSI to base starting with Issue 7:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/mkdtemp.html
Most importantly, this commit fixes x11/xterm which was building but segfaulting after 8eb95a5667325.
Reported-by: Rimvydas Jasinskas <rimvydas.jasinskas@gmail.com>
show more ...
|
8eb95a56 | 21-Oct-2015 |
Sascha Wildner <saw@online.de> |
Fix visibility of various functions in a number of headers.
The following functions were moved from XSI into the base with POSIX 200809:
catclose(), catgets(), catopen(), dlclose(), dlerror(), dlop
Fix visibility of various functions in a number of headers.
The following functions were moved from XSI into the base with POSIX 200809:
catclose(), catgets(), catopen(), dlclose(), dlerror(), dlopen(), dlsym(), fchdir(), getpgid(), getsid(), getsubopt(), iconv(), iconv_close(), iconv_open(), lchown(), mkstemp(), nl_langinfo(), poll(), pread(), pwrite(), strdup(), strfmon(), tcgetsid(), truncate(), and waitid().
This commit adjusts our headers to reflect that, i.e. specifying _POSIX_C_SOURCE=200809 is now enough to expose their prototypes.
The checking of __XSI_VISIBLE's value (ranges) for XSI functions could certainly be better (generally in our headers).
Also, we don't yet have waitid().
This change was build tested with around 8000 ports (until the bulk build choked on a jdk7 memory leak (I suppose) while building textproc/fop). The glibc conformance test suite thinks this commit is correct, too.
show more ...
|