From: nsz Date: Tue, 20 Sep 2011 20:11:05 +0000 (+0200) Subject: fix posix data (wcrtomb wrong header bug) X-Git-Url: http://nsz.repo.hu/git/?p=musl-tables;a=commitdiff_plain;h=65380448efeaaebedbfcf204f8c76dced07e6f05 fix posix data (wcrtomb wrong header bug) --- diff --git a/data/musl.problems b/data/musl.problems index 0ca4b50..e90dafa 100644 --- a/data/musl.problems +++ b/data/musl.problems @@ -38,4 +38,3 @@ proto setpgid unistd/setpgid.c unistd.h pid_t(pid_t,pid_t) int(pid_t,pid_t) nodecl sincos T nodecl start T nodecl stime T -header wcrtomb wchar.h stdio.h diff --git a/data/posix2008 b/data/posix2008 index 1e9d313..b9c81b4 100644 --- a/data/posix2008 +++ b/data/posix2008 @@ -1129,7 +1129,7 @@ waitid sys/wait.h waitid - wait for a child process to change state int waitid( waitpid sys/wait.h wait, waitpid - wait for a child process to stop or terminate pid_t waitpid(pid_t pid, int *stat_loc, int options); wcpcpy wchar.h CX wcpcpy, wcscpy - copy a wide-character string, returning a pointer to its end wchar_t *wcpcpy(wchar_t *restrict ws1, const wchar_t *restrict ws2); wcpncpy wchar.h CX wcpncpy, wcsncpy - copy a fixed-size wide-character string, returning a pointer to its end wchar_t *wcpncpy(wchar_t restrict *ws1, const wchar_t *restrict ws2, size_t n); -wcrtomb stdio.h wcrtomb - convert a wide-character code to a character (restartable) size_t wcrtomb(char *restrict s, wchar_t wc, mbstate_t *restrict ps); +wcrtomb wchar.h wcrtomb - convert a wide-character code to a character (restartable) size_t wcrtomb(char *restrict s, wchar_t wc, mbstate_t *restrict ps); wcscasecmp wchar.h CX wcscasecmp, wcscasecmp_l, wcsncasecmp, wcsncasecmp_l - case-insensitive wide-character string comparison int wcscasecmp(const wchar_t *ws1, const wchar_t *ws2); wcscasecmp_l wchar.h CX wcscasecmp, wcscasecmp_l, wcsncasecmp, wcsncasecmp_l - case-insensitive wide-character string comparison int wcscasecmp_l(const wchar_t *ws1, const wchar_t *ws2, locale_t locale); wcscat wchar.h wcscat - concatenate two wide-character strings wchar_t *wcscat(wchar_t *restrict ws1, const wchar_t *restrict ws2); diff --git a/data/posix2008.bugs b/data/posix2008.bugs new file mode 100644 index 0000000..7200a51 --- /dev/null +++ b/data/posix2008.bugs @@ -0,0 +1,11 @@ +wcrtomb should be declared in not in +see +http://pubs.opengroup.org/onlinepubs/9699919799/functions/wcrtomb.html +vs +http://repo.or.cz/w/c-standard.git/blob_plain/HEAD:/n1256.html#7.24.6.3.3 + + +pthread_kill(invalid_value, sig); required to return ESRCH which is not possible +http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_kill.html + + diff --git a/data/posix2008.ok b/data/posix2008.ok index f681003..c3ca230 100644 --- a/data/posix2008.ok +++ b/data/posix2008.ok @@ -1071,7 +1071,7 @@ waitid sys/wait.h waitid - wait for a child process to change state int waitid( waitpid sys/wait.h wait, waitpid - wait for a child process to stop or terminate pid_t waitpid(pid_t pid, int *stat_loc, int options); wcpcpy wchar.h CX wcpcpy, wcscpy - copy a wide-character string, returning a pointer to its end wchar_t *wcpcpy(wchar_t *restrict ws1, const wchar_t *restrict ws2); wcpncpy wchar.h CX wcpncpy, wcsncpy - copy a fixed-size wide-character string, returning a pointer to its end wchar_t *wcpncpy(wchar_t restrict *ws1, const wchar_t *restrict ws2, size_t n); -wcrtomb stdio.h wcrtomb - convert a wide-character code to a character (restartable) size_t wcrtomb(char *restrict s, wchar_t wc, mbstate_t *restrict ps); +wcrtomb wchar.h wcrtomb - convert a wide-character code to a character (restartable) size_t wcrtomb(char *restrict s, wchar_t wc, mbstate_t *restrict ps); wcscasecmp wchar.h CX wcscasecmp, wcscasecmp_l, wcsncasecmp, wcsncasecmp_l - case-insensitive wide-character string comparison int wcscasecmp(const wchar_t *ws1, const wchar_t *ws2); wcscasecmp_l wchar.h CX wcscasecmp, wcscasecmp_l, wcsncasecmp, wcsncasecmp_l - case-insensitive wide-character string comparison int wcscasecmp_l(const wchar_t *ws1, const wchar_t *ws2, locale_t locale); wcscat wchar.h wcscat - concatenate two wide-character strings wchar_t *wcscat(wchar_t *restrict ws1, const wchar_t *restrict ws2); diff --git a/tab_posix.html b/tab_posix.html index 0e6e895..324d362 100644 --- a/tab_posix.html +++ b/tab_posix.html @@ -1075,7 +1075,7 @@  Tp waitpid sys/wait.h wait, waitpid - wait for a child process to stop or terminate missing  wcpcpy wchar.h CXwcpcpy, wcscpy - copy a wide-character string, returning a pointer to its end missing  wcpncpy wchar.h CXwcpncpy, wcsncpy - copy a fixed-size wide-character string, returning a pointer to its end - Tp wcrtomb stdio.h wcrtomb - convert a wide-character code to a character (restartable) + Tp wcrtomb wchar.h wcrtomb - convert a wide-character code to a character (restartable) missing  wcscasecmp wchar.h CXwcscasecmp, wcscasecmp_l, wcsncasecmp, wcsncasecmp_l - case-insensitive wide-character string comparison missing  wcscasecmp_l wchar.h CXwcscasecmp, wcscasecmp_l, wcsncasecmp, wcsncasecmp_l - case-insensitive wide-character string comparison  Tp wcscat wchar.h wcscat - concatenate two wide-character strings