Mercurial > gnulib
annotate modules/sys_resource @ 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 | 1a0175e8c702 |
children |
rev | line source |
---|---|
16775 | 1 Description: |
2 A POSIX-like <sys/resource.h>. | |
3 | |
4 Files: | |
5 lib/sys_resource.in.h | |
6 m4/sys_resource_h.m4 | |
7 | |
8 Depends-on: | |
9 include_next | |
16777 | 10 snippet/arg-nonnull |
11 snippet/c++defs | |
12 snippet/warn-on-use | |
16775 | 13 sys_time |
14 | |
15 configure.ac: | |
16 gl_HEADER_SYS_RESOURCE | |
17 AC_PROG_MKDIR_P | |
18 | |
19 Makefile.am: | |
20 BUILT_SOURCES += sys/resource.h | |
21 | |
22 # We need the following in order to create <sys/resource.h> when the system | |
23 # doesn't have one. | |
16777 | 24 sys/resource.h: sys_resource.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) |
16775 | 25 $(AM_V_at)$(MKDIR_P) sys |
26 $(AM_V_GEN)rm -f $@-t $@ && \ | |
27 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ | |
28 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ | |
29 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
30 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
31 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ | |
32 -e 's|@''NEXT_SYS_RESOURCE_H''@|$(NEXT_SYS_RESOURCE_H)|g' \ | |
33 -e 's|@''HAVE_SYS_RESOURCE_H''@|$(HAVE_SYS_RESOURCE_H)|g' \ | |
16777 | 34 -e 's/@''GNULIB_GETRUSAGE''@/$(GNULIB_GETRUSAGE)/g' \ |
35 -e 's/@''HAVE_GETRUSAGE''@/$(HAVE_GETRUSAGE)/g' \ | |
36 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ | |
37 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ | |
38 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ | |
16775 | 39 < $(srcdir)/sys_resource.in.h; \ |
40 } > $@-t && \ | |
41 mv -f $@-t $@ | |
42 MOSTLYCLEANFILES += sys/resource.h sys/resource.h-t | |
43 MOSTLYCLEANDIRS += sys | |
44 | |
45 Include: | |
46 <sys/resource.h> | |
47 | |
48 License: | |
39773
1a0175e8c702
sys_resource: Relicense under LGPLv2+.
Bruno Haible <bruno@clisp.org>
parents:
17713
diff
changeset
|
49 LGPLv2+ |
16775 | 50 |
51 Maintainer: | |
17713
1f14c6dd175d
Bruno Haible has stepped down as maintainer.
Paul Eggert <eggert@cs.ucla.edu>
parents:
16777
diff
changeset
|
52 all |