Mercurial > gnulib
annotate modules/xprintf @ 40231:9b3c79fdfe0b
strtod: fix clash with strtold
Problem reported for RHEL 5 by Jesse Caldwell (Bug#34817).
* lib/strtod.c (compute_minus_zero, minus_zero):
Simplify by remving the macro / external variable,
and having just a function. User changed. This avoids
the need for an external variable that might clash.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Mon, 11 Mar 2019 16:40:29 -0700 |
parents | b9a762d04d6c |
children |
rev | line source |
---|---|
9364 | 1 Description: |
2 a wrapper around printf that calls error upon ENOMEM or EILSEQ errors | |
3 | |
9415
8ea12c7d7d59
Notify xgettext about functions that have a format string argument.
Bruno Haible <bruno@clisp.org>
parents:
9373
diff
changeset
|
4 Notice: |
8ea12c7d7d59
Notify xgettext about functions that have a format string argument.
Bruno Haible <bruno@clisp.org>
parents:
9373
diff
changeset
|
5 If you are using GNU gettext version 0.16.1 or older, add the following options |
8ea12c7d7d59
Notify xgettext about functions that have a format string argument.
Bruno Haible <bruno@clisp.org>
parents:
9373
diff
changeset
|
6 to XGETTEXT_OPTIONS in your po/Makevars: |
8ea12c7d7d59
Notify xgettext about functions that have a format string argument.
Bruno Haible <bruno@clisp.org>
parents:
9373
diff
changeset
|
7 --flag=xprintf:1:c-format --flag=xvprintf:1:c-format |
8ea12c7d7d59
Notify xgettext about functions that have a format string argument.
Bruno Haible <bruno@clisp.org>
parents:
9373
diff
changeset
|
8 --flag=xfprintf:2:c-format --flag=xvfprintf:2:c-format |
8ea12c7d7d59
Notify xgettext about functions that have a format string argument.
Bruno Haible <bruno@clisp.org>
parents:
9373
diff
changeset
|
9 |
9364 | 10 Files: |
11 lib/xprintf.h | |
12 lib/xprintf.c | |
13 | |
14 Depends-on: | |
15 error | |
16 exitfail | |
17 gettext-h | |
18 stdarg | |
19 stdio | |
20 | |
21 configure.ac: | |
9415
8ea12c7d7d59
Notify xgettext about functions that have a format string argument.
Bruno Haible <bruno@clisp.org>
parents:
9373
diff
changeset
|
22 m4_ifdef([AM_XGETTEXT_OPTION], |
11796
b9a762d04d6c
Avoid warnings from 'aclocal' when AM_XGETTEXT_OPTION is not defined.
Bruno Haible <bruno@clisp.org>
parents:
9415
diff
changeset
|
23 [AM_][XGETTEXT_OPTION([--flag=xprintf:1:c-format]) |
b9a762d04d6c
Avoid warnings from 'aclocal' when AM_XGETTEXT_OPTION is not defined.
Bruno Haible <bruno@clisp.org>
parents:
9415
diff
changeset
|
24 AM_][XGETTEXT_OPTION([--flag=xvprintf:1:c-format]) |
b9a762d04d6c
Avoid warnings from 'aclocal' when AM_XGETTEXT_OPTION is not defined.
Bruno Haible <bruno@clisp.org>
parents:
9415
diff
changeset
|
25 AM_][XGETTEXT_OPTION([--flag=xfprintf:2:c-format]) |
b9a762d04d6c
Avoid warnings from 'aclocal' when AM_XGETTEXT_OPTION is not defined.
Bruno Haible <bruno@clisp.org>
parents:
9415
diff
changeset
|
26 AM_][XGETTEXT_OPTION([--flag=xvfprintf:2:c-format])]) |
9364 | 27 |
28 Makefile.am: | |
29 lib_SOURCES += xprintf.h xprintf.c | |
30 | |
31 Include: | |
32 "xprintf.h" | |
33 | |
34 License: | |
9373
c8527f8ce71e
Change xprintf's license to GPL.
Jim Meyering <meyering@redhat.com>
parents:
9364
diff
changeset
|
35 GPL |
9364 | 36 |
37 Maintainer: | |
38 Jim Meyering |