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