Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 763614 Details for
Bug 832034
net-proxy/privoxy-3.0.33 failed to build on riscv with USE=sanitize enabled
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
conftest.c
conftest.c (text/x-csrc), 1.95 KB, created by
Yixun Lan
on 2022-01-25 14:44:11 UTC
(
hide
)
Description:
conftest.c
Filename:
MIME Type:
Creator:
Yixun Lan
Created:
2022-01-25 14:44:11 UTC
Size:
1.95 KB
patch
obsolete
>/* confdefs.h */ >#define PACKAGE_NAME "" >#define PACKAGE_TARNAME "" >#define PACKAGE_VERSION "" >#define PACKAGE_STRING "" >#define PACKAGE_BUGREPORT "" >#define PACKAGE_URL "" >#define VERSION_MAJOR 3 >#define VERSION_MINOR 0 >#define VERSION_POINT 33 >#define VERSION "3.0.33" >#define CODE_STATUS "stable" >#define HAVE_STDIO_H 1 >#define HAVE_STDLIB_H 1 >#define HAVE_STRING_H 1 >#define HAVE_INTTYPES_H 1 >#define HAVE_STDINT_H 1 >#define HAVE_STRINGS_H 1 >#define HAVE_SYS_STAT_H 1 >#define HAVE_SYS_TYPES_H 1 >#define HAVE_UNISTD_H 1 >#define HAVE_SYS_TIME_H 1 >#define STDC_HEADERS 1 >#define FEATURE_PTHREAD 1 >#define HAVE_DIRENT_H 1 >#define TIME_WITH_SYS_TIME 1 >#define SIZEOF_INT 0 >#define SIZEOF_CHAR_P 0 >#define SIZEOF_LONG 0 >#define SIZEOF_LONG_LONG 0 >/* end confdefs.h. */ >#include <stddef.h> >#ifdef HAVE_STDIO_H ># include <stdio.h> >#endif >#ifdef HAVE_STDLIB_H ># include <stdlib.h> >#endif >#ifdef HAVE_STRING_H ># include <string.h> >#endif >#ifdef HAVE_INTTYPES_H ># include <inttypes.h> >#endif >#ifdef HAVE_STDINT_H ># include <stdint.h> >#endif >#ifdef HAVE_STRINGS_H ># include <strings.h> >#endif >#ifdef HAVE_SYS_TYPES_H ># include <sys/types.h> >#endif >#ifdef HAVE_SYS_STAT_H ># include <sys/stat.h> >#endif >#ifdef HAVE_UNISTD_H ># include <unistd.h> >#endif >static long int longval (void) { return (long int) (sizeof (size_t)); } >static unsigned long int ulongval (void) { return (long int) (sizeof (size_t)); } >#include <stdio.h> >#include <stdlib.h> >int >main (void) >{ > > FILE *f = fopen ("conftest.val", "w"); > if (! f) > return 1; > if (((long int) (sizeof (size_t))) < 0) > { > long int i = longval (); > if (i != ((long int) (sizeof (size_t)))) > return 1; > fprintf (f, "%ld", i); > } > else > { > unsigned long int i = ulongval (); > if (i != ((long int) (sizeof (size_t)))) > return 1; > fprintf (f, "%lu", i); > } > /* Do not output a trailing newline, as this causes \r\n confusion > on some platforms. */ > return ferror (f) || fclose (f) != 0; > > ; > return 0; >}
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 832034
:
763601
|
763613
| 763614