Patch php-configure-iconv-ignore.patch for *Compile Issues Bug #78342
Patch version 2019-07-28 18:46 UTC
Return to Bug #78342 |
Download this patch
Patch Revisions:
Developer: rainer.jung@kippdata.de
Index: ext/iconv/config.m4
--- ext/iconv/config.m4 2019-07-23 10:05:14.000000000 +0000
+++ ext/iconv/config.m4 2019-07-28 20:36:05.024693000 +0000
@@ -162,6 +162,9 @@
int main() {
iconv_t cd = iconv_open( "UTF-8//IGNORE", "UTF-8" );
+ if(cd == (iconv_t)-1) {
+ return 1;
+ }
char *in_p = "\xC3\xC3\xC3\xB8";
size_t in_left = 4, out_left = 4096;
char *out = malloc(out_left);
|