Mercurial > hg > octave-lojdl > gnulib-hg
annotate 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 |
rev | line source |
---|---|
7261 | 1 Description: |
2 Character set conversion of strings made easy, uses iconv. | |
3 | |
4 Files: | |
5 lib/striconv.h | |
6 lib/striconv.c | |
7 | |
8 Depends-on: | |
9 iconv | |
8604 | 10 iconv_open |
7261 | 11 strdup |
12 c-strcase | |
13 | |
14 configure.ac: | |
7286
727bb5526bad
For libraries not built with libtool:
Bruno Haible <bruno@clisp.org>
parents:
7261
diff
changeset
|
15 if test $gl_cond_libtool = false; then |
727bb5526bad
For libraries not built with libtool:
Bruno Haible <bruno@clisp.org>
parents:
7261
diff
changeset
|
16 gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV" |
727bb5526bad
For libraries not built with libtool:
Bruno Haible <bruno@clisp.org>
parents:
7261
diff
changeset
|
17 gl_libdeps="$gl_libdeps $LIBICONV" |
727bb5526bad
For libraries not built with libtool:
Bruno Haible <bruno@clisp.org>
parents:
7261
diff
changeset
|
18 fi |
7261 | 19 |
20 Makefile.am: | |
21 lib_SOURCES += striconv.h striconv.c | |
22 if GL_COND_LIBTOOL | |
23 lib_LDFLAGS += $(LTLIBICONV) | |
24 endif | |
25 | |
26 Include: | |
27 "striconv.h" | |
28 | |
10130
7581db129a32
Mention the link requirements.
Bruno Haible <bruno@clisp.org>
parents:
9131
diff
changeset
|
29 Link: |
7581db129a32
Mention the link requirements.
Bruno Haible <bruno@clisp.org>
parents:
9131
diff
changeset
|
30 $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise |
7581db129a32
Mention the link requirements.
Bruno Haible <bruno@clisp.org>
parents:
9131
diff
changeset
|
31 |
7261 | 32 License: |
9131
8812f453e378
Use the synonymous term LGPLv2+.
Bruno Haible <bruno@clisp.org>
parents:
8604
diff
changeset
|
33 LGPLv2+ |
7261 | 34 |
35 Maintainer: | |
36 Bruno Haible, Simon Josefsson | |
37 |