annotate lib/stdopen.h @ 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 d6de7c427079
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
40085
a238d0c7991f stdopen: copy from last use in coreutils
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
1 #ifndef STDOPEN_H
a238d0c7991f stdopen: copy from last use in coreutils
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
2 # define STDOPEN_H 1
a238d0c7991f stdopen: copy from last use in coreutils
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
3
a238d0c7991f stdopen: copy from last use in coreutils
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
4 # ifdef __cplusplus
a238d0c7991f stdopen: copy from last use in coreutils
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
5 extern "C" {
a238d0c7991f stdopen: copy from last use in coreutils
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
6 # endif
a238d0c7991f stdopen: copy from last use in coreutils
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
7
40086
d6de7c427079 stdopen: modernize and simplify
Paul Eggert <eggert@cs.ucla.edu>
parents: 40085
diff changeset
8 int stdopen (void);
40085
a238d0c7991f stdopen: copy from last use in coreutils
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
9
a238d0c7991f stdopen: copy from last use in coreutils
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
10 # ifdef __cplusplus
a238d0c7991f stdopen: copy from last use in coreutils
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
11 }
a238d0c7991f stdopen: copy from last use in coreutils
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
12 # endif
a238d0c7991f stdopen: copy from last use in coreutils
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
13
a238d0c7991f stdopen: copy from last use in coreutils
Paul Eggert <eggert@cs.ucla.edu>
parents:
diff changeset
14 #endif