equal
deleted
inserted
replaced
228 { |
228 { |
229 static char buf[1024]; |
229 static char buf[1024]; |
230 /* Work around buggy iconv implementation where inbuf is wrongly typed as |
230 /* Work around buggy iconv implementation where inbuf is wrongly typed as |
231 * non-const. Correct implementation is at |
231 * non-const. Correct implementation is at |
232 * http://www.opengroup.org/onlinepubs/007908799/xsh/iconv.html */ |
232 * http://www.opengroup.org/onlinepubs/007908799/xsh/iconv.html */ |
233 #if defined (__GLIBC__) || defined (__GNU_LIBRARY__) |
233 #ifdef HAVE_BROKEN_ICONV |
234 char *inbuf = (char*)name; |
234 char *inbuf = (char*)name; |
235 #else |
235 #else |
236 const char *inbuf = name; |
236 const char *inbuf = name; |
237 #endif |
237 #endif |
238 |
238 |