Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 364232 Details for
Bug 492752
net-libs/gnutls-3.2.7 build failure on arm, amd64-fbsd: undefined reference to `rpl_strerror'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
strerror-test.c
strerror-test.c (text/x-csrc), 767 bytes, created by
Alon Bar-Lev (RETIRED)
on 2013-11-29 22:36:33 UTC
(
hide
)
Description:
strerror-test.c
Filename:
MIME Type:
Creator:
Alon Bar-Lev (RETIRED)
Created:
2013-11-29 22:36:33 UTC
Size:
767 bytes
patch
obsolete
>#define __EXTENSIONS__ 1 >#define _ALL_SOURCE 1 >#define _DARWIN_C_SOURCE 1 >#define _GNU_SOURCE 1 >#define _POSIX_PTHREAD_SEMANTICS 1 >#define _TANDEM_SOURCE 1 >#define HAVE_FSEEKO 1 >#define _FILE_OFFSET_BITS 64 >#define _DARWIN_USE_64_BIT_INODE 1 >#define STDC_HEADERS 1 > >#include <stdio.h> >#include <errno.h> >#include <string.h> >extern int __xpg_strerror_r(int, char *, size_t); > >int >main () >{ > int result = 0; > char buf[256] = "^"; > char copy[256]; > char *str = strerror (-1); > strcpy (copy, str); > memset(buf, 0, sizeof(buf)); > if (__xpg_strerror_r (-2, buf, 1) == 0) > result |= 1; > if (*buf) { > printf("Bad buffer? '%s'\n", buf); > result |= 2; > } > __xpg_strerror_r (-2, buf, 256); > if (strcmp (str, copy)) > result |= 4; > printf("%02x\n", result); > return result; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 492752
:
364110
|
364168
|
364224
|
364230
| 364232 |
364556
|
365022