view modules/striconv @ 14730:f0a9a2cd267c

fclose: preserve fflush errors Caught by gcc -Werror=unused-but-set-variable. * lib/fclose.c (rpl_fclose): Don't lose fflush errors. Reported by Jim Meyering. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Wed, 11 May 2011 11:35:06 -0600
parents 7581db129a32
children
line wrap: on
line source

Description:
Character set conversion of strings made easy, uses iconv.

Files:
lib/striconv.h
lib/striconv.c

Depends-on:
iconv
iconv_open
strdup
c-strcase

configure.ac:
if test $gl_cond_libtool = false; then
  gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
  gl_libdeps="$gl_libdeps $LIBICONV"
fi

Makefile.am:
lib_SOURCES += striconv.h striconv.c
if GL_COND_LIBTOOL
lib_LDFLAGS += $(LTLIBICONV)
endif

Include:
"striconv.h"

Link:
$(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise

License:
LGPLv2+

Maintainer:
Bruno Haible, Simon Josefsson