mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
Rename module stdlib to stdlib-h.
* modules/stdlib-h: Renamed from modules/stdlib. * modules/stdlib-h-tests: Renamed from modules/stdlib-tests. * modules/stdlib-h-c++-tests: Renamed from modules/stdlib-c++-tests. * tests/test-stdlib-h.c: Renamed from tests/test-stdlib.c. * tests/test-stdlib-h-c++.cc: Renamed from tests/test-stdlib-c++.cc. * tests/test-stdlib-h-c++2.cc: Renamed from tests/test-stdlib-c++2.cc. * doc/posix-headers/stdlib.texi: Update. * doc/posix-functions/exit.texi: Update. * modules/* (Depends-on): Update. * modules/stdlib: New file.
This commit is contained in:
14
ChangeLog
14
ChangeLog
@@ -1,3 +1,17 @@
|
|||||||
|
2024-12-27 Bruno Haible <bruno@clisp.org>
|
||||||
|
|
||||||
|
Rename module stdlib to stdlib-h.
|
||||||
|
* modules/stdlib-h: Renamed from modules/stdlib.
|
||||||
|
* modules/stdlib-h-tests: Renamed from modules/stdlib-tests.
|
||||||
|
* modules/stdlib-h-c++-tests: Renamed from modules/stdlib-c++-tests.
|
||||||
|
* tests/test-stdlib-h.c: Renamed from tests/test-stdlib.c.
|
||||||
|
* tests/test-stdlib-h-c++.cc: Renamed from tests/test-stdlib-c++.cc.
|
||||||
|
* tests/test-stdlib-h-c++2.cc: Renamed from tests/test-stdlib-c++2.cc.
|
||||||
|
* doc/posix-headers/stdlib.texi: Update.
|
||||||
|
* doc/posix-functions/exit.texi: Update.
|
||||||
|
* modules/* (Depends-on): Update.
|
||||||
|
* modules/stdlib: New file.
|
||||||
|
|
||||||
2024-12-27 Bruno Haible <bruno@clisp.org>
|
2024-12-27 Bruno Haible <bruno@clisp.org>
|
||||||
|
|
||||||
Rename module stdio to stdio-h.
|
Rename module stdio to stdio-h.
|
||||||
|
@@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/exit.html}
|
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/exit.html}
|
||||||
|
|
||||||
Gnulib module: stdlib
|
Gnulib module: stdlib-h
|
||||||
@mindex stdlib
|
@mindex stdlib-h
|
||||||
|
|
||||||
Portability problems fixed by Gnulib:
|
Portability problems fixed by Gnulib:
|
||||||
@itemize
|
@itemize
|
||||||
|
@@ -3,11 +3,11 @@
|
|||||||
|
|
||||||
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/stdlib.h.html}
|
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/stdlib.h.html}
|
||||||
|
|
||||||
Gnulib module: stdlib, system-posix
|
Gnulib module: stdlib-h, system-posix
|
||||||
@mindex stdlib
|
@mindex stdlib-h
|
||||||
@mindex system-posix
|
@mindex system-posix
|
||||||
|
|
||||||
Portability problems fixed by the Gnulib module @code{stdlib}:
|
Portability problems fixed by the Gnulib module @code{stdlib-h}:
|
||||||
@itemize
|
@itemize
|
||||||
@item
|
@item
|
||||||
The macros @code{EXIT_SUCCESS} and @code{EXIT_FAILURE} are not defined on
|
The macros @code{EXIT_SUCCESS} and @code{EXIT_FAILURE} are not defined on
|
||||||
|
@@ -6,7 +6,7 @@ lib/_Exit.c
|
|||||||
m4/_Exit.m4
|
m4/_Exit.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
unistd
|
unistd
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -6,7 +6,7 @@ lib/abort-debug.c
|
|||||||
m4/abort-debug.m4
|
m4/abort-debug.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
stack-trace
|
stack-trace
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -7,7 +7,7 @@ m4/aligned_alloc.m4
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
extensions
|
extensions
|
||||||
stdlib
|
stdlib-h
|
||||||
malloc-posix [test $REPLACE_ALIGNED_ALLOC = 1]
|
malloc-posix [test $REPLACE_ALIGNED_ALLOC = 1]
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -17,7 +17,7 @@ memcmp
|
|||||||
quote
|
quote
|
||||||
quotearg
|
quotearg
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@ lib/atoll.c
|
|||||||
m4/atoll.m4
|
m4/atoll.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
strtoll [test $HAVE_ATOLL = 0]
|
strtoll [test $HAVE_ATOLL = 0]
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -8,7 +8,7 @@ m4/malloc.m4
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdckdint-h [test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1]
|
stdckdint-h [test $REPLACE_CALLOC_FOR_CALLOC_POSIX = 1]
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_CALLOC_POSIX
|
gl_FUNC_CALLOC_POSIX
|
||||||
|
@@ -9,7 +9,7 @@ m4/lstat.m4
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
extensions
|
extensions
|
||||||
stdlib
|
stdlib-h
|
||||||
nocrash
|
nocrash
|
||||||
double-slash-root [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
|
double-slash-root [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
|
||||||
eloop-threshold [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
|
eloop-threshold [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
|
||||||
|
@@ -20,7 +20,7 @@ memchr [test $gl_cv_have_unlimited_file_name_length = no]
|
|||||||
mempcpy [test $gl_cv_have_unlimited_file_name_length = no]
|
mempcpy [test $gl_cv_have_unlimited_file_name_length = no]
|
||||||
memrchr [test $gl_cv_have_unlimited_file_name_length = no]
|
memrchr [test $gl_cv_have_unlimited_file_name_length = no]
|
||||||
stdbool-h [test $gl_cv_have_unlimited_file_name_length = no]
|
stdbool-h [test $gl_cv_have_unlimited_file_name_length = no]
|
||||||
stdlib [test $gl_cv_have_unlimited_file_name_length = no]
|
stdlib-h [test $gl_cv_have_unlimited_file_name_length = no]
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_CHDIR_LONG
|
gl_FUNC_CHDIR_LONG
|
||||||
|
@@ -23,7 +23,7 @@ qcopy-acl
|
|||||||
quote
|
quote
|
||||||
safe-read
|
safe-read
|
||||||
stat-time
|
stat-time
|
||||||
stdlib
|
stdlib-h
|
||||||
unistd
|
unistd
|
||||||
utimens
|
utimens
|
||||||
|
|
||||||
|
@@ -29,7 +29,7 @@ stdbool-h
|
|||||||
stddef-h
|
stddef-h
|
||||||
stdint-h
|
stdint-h
|
||||||
stdio-h
|
stdio-h
|
||||||
stdlib
|
stdlib-h
|
||||||
string
|
string
|
||||||
uchar
|
uchar
|
||||||
# The lonesome_lower array requires ISO C 23 semantics for char32_t.
|
# The lonesome_lower array requires ISO C 23 semantics for char32_t.
|
||||||
|
@@ -7,7 +7,7 @@ tests/test-dfa-invalid-merge.sh
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
binary-io
|
binary-io
|
||||||
stdio-h
|
stdio-h
|
||||||
stdlib
|
stdlib-h
|
||||||
string
|
string
|
||||||
unistd
|
unistd
|
||||||
regex
|
regex
|
||||||
|
@@ -30,7 +30,7 @@ posix_spawnattr_setsigmask
|
|||||||
posix_spawnattr_setflags
|
posix_spawnattr_setflags
|
||||||
posix_spawnattr_destroy
|
posix_spawnattr_destroy
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdlib
|
stdlib-h
|
||||||
sys_wait
|
sys_wait
|
||||||
unistd
|
unistd
|
||||||
wait-process
|
wait-process
|
||||||
|
@@ -6,7 +6,7 @@ lib/exitfail.h
|
|||||||
lib/exitfail.c
|
lib/exitfail.c
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@ lib/free.c
|
|||||||
m4/free.m4
|
m4/free.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
string
|
string
|
||||||
wchar
|
wchar
|
||||||
|
|
||||||
|
@@ -10,7 +10,7 @@ extensions
|
|||||||
intprops [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1]
|
intprops [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1]
|
||||||
open [case $host_os in mingw* | windows*) false;; *) test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1;; esac]
|
open [case $host_os in mingw* | windows*) false;; *) test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1;; esac]
|
||||||
stdbool-h [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1]
|
stdbool-h [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1]
|
||||||
stdlib [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1]
|
stdlib-h [test $HAVE_GETLOADAVG = 0 || test $REPLACE_GETLOADAVG = 1]
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
AC_REQUIRE([AC_CANONICAL_HOST])
|
AC_REQUIRE([AC_CANONICAL_HOST])
|
||||||
|
@@ -7,7 +7,7 @@ lib/getprogname.c
|
|||||||
m4/getprogname.m4
|
m4/getprogname.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
basename-lgpl [test $HAVE_GETPROGNAME = 0]
|
basename-lgpl [test $HAVE_GETPROGNAME = 0]
|
||||||
extensions [test $HAVE_GETPROGNAME = 0]
|
extensions [test $HAVE_GETPROGNAME = 0]
|
||||||
open [test $HAVE_GETPROGNAME = 0 && case "$host_os" in irix* | osf* | sco* | unixware*) true;; *) false;; esac]
|
open [test $HAVE_GETPROGNAME = 0 && case "$host_os" in irix* | osf* | sco* | unixware*) true;; *) false;; esac]
|
||||||
|
@@ -6,7 +6,7 @@ lib/getsubopt.c
|
|||||||
m4/getsubopt.m4
|
m4/getsubopt.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
extensions
|
extensions
|
||||||
strchrnul [test $HAVE_GETSUBOPT = 0 || test $REPLACE_GETSUBOPT = 1]
|
strchrnul [test $HAVE_GETSUBOPT = 0 || test $REPLACE_GETSUBOPT = 1]
|
||||||
memchr [test $HAVE_GETSUBOPT = 0 || test $REPLACE_GETSUBOPT = 1]
|
memchr [test $HAVE_GETSUBOPT = 0 || test $REPLACE_GETSUBOPT = 1]
|
||||||
|
@@ -10,7 +10,7 @@ getopt-gnu
|
|||||||
idx
|
idx
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdint-h
|
stdint-h
|
||||||
stdlib
|
stdlib-h
|
||||||
error
|
error
|
||||||
read-file
|
read-file
|
||||||
xlist
|
xlist
|
||||||
|
@@ -7,7 +7,7 @@ lib/pty-private.h
|
|||||||
m4/grantpt.m4
|
m4/grantpt.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
extensions
|
extensions
|
||||||
pt_chown [test $HAVE_GRANTPT = 0]
|
pt_chown [test $HAVE_GRANTPT = 0]
|
||||||
waitpid [test $HAVE_GRANTPT = 0]
|
waitpid [test $HAVE_GRANTPT = 0]
|
||||||
|
@@ -10,7 +10,7 @@ c99
|
|||||||
exitfail
|
exitfail
|
||||||
getopt-gnu
|
getopt-gnu
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdlib
|
stdlib-h
|
||||||
version-etc
|
version-etc
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -11,7 +11,7 @@ include_next
|
|||||||
snippet/c++defs
|
snippet/c++defs
|
||||||
snippet/warn-on-use
|
snippet/warn-on-use
|
||||||
stddef-h
|
stddef-h
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_MALLOC_H
|
gl_MALLOC_H
|
||||||
|
@@ -7,7 +7,7 @@ m4/malloc.m4
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdckdint-h [test $REPLACE_CALLOC_FOR_MALLOC_POSIX = 1]
|
stdckdint-h [test $REPLACE_CALLOC_FOR_MALLOC_POSIX = 1]
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
AC_REQUIRE([gl_FUNC_MALLOC_POSIX])
|
AC_REQUIRE([gl_FUNC_MALLOC_POSIX])
|
||||||
|
@@ -7,7 +7,7 @@ lib/mbscasecmp.c
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
c32tolower
|
c32tolower
|
||||||
mbuiterf [test "$GNULIB_MCEL_PREFER" != yes]
|
mbuiterf [test "$GNULIB_MCEL_PREFER" != yes]
|
||||||
stdlib
|
stdlib-h
|
||||||
string
|
string
|
||||||
uchar
|
uchar
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@ m4/mbstowcs.m4
|
|||||||
m4/mbrtowc.m4
|
m4/mbrtowc.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
mbszero [test $REPLACE_MBSTOWCS = 1]
|
mbszero [test $REPLACE_MBSTOWCS = 1]
|
||||||
mbsrtowcs [test $REPLACE_MBSTOWCS = 1]
|
mbsrtowcs [test $REPLACE_MBSTOWCS = 1]
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@ lib/mbtowc-impl.h
|
|||||||
m4/mbtowc.m4
|
m4/mbtowc.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
wchar [test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1]
|
wchar [test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1]
|
||||||
mbszero [test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1]
|
mbszero [test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1]
|
||||||
mbrtowc [test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1]
|
mbrtowc [test $HAVE_MBTOWC = 0 || test $REPLACE_MBTOWC = 1]
|
||||||
|
@@ -6,7 +6,7 @@ lib/mkdtemp.c
|
|||||||
m4/mkdtemp.m4
|
m4/mkdtemp.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
stdint-h [test $HAVE_MKDTEMP = 0]
|
stdint-h [test $HAVE_MKDTEMP = 0]
|
||||||
tempname [test $HAVE_MKDTEMP = 0]
|
tempname [test $HAVE_MKDTEMP = 0]
|
||||||
|
|
||||||
|
@@ -7,7 +7,7 @@ lib/mkostemp.c
|
|||||||
m4/mkostemp.m4
|
m4/mkostemp.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
extensions
|
extensions
|
||||||
largefile
|
largefile
|
||||||
tempname [test $HAVE_MKOSTEMP = 0 || test $REPLACE_MKOSTEMP = 1]
|
tempname [test $HAVE_MKOSTEMP = 0 || test $REPLACE_MKOSTEMP = 1]
|
||||||
|
@@ -7,7 +7,7 @@ lib/mkostemps.c
|
|||||||
m4/mkostemps.m4
|
m4/mkostemps.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
extensions
|
extensions
|
||||||
largefile
|
largefile
|
||||||
tempname [test $HAVE_MKOSTEMPS = 0 || test $REPLACE_MKOSTEMPS = 1]
|
tempname [test $HAVE_MKOSTEMPS = 0 || test $REPLACE_MKOSTEMPS = 1]
|
||||||
|
@@ -6,7 +6,7 @@ lib/mkstemp.c
|
|||||||
m4/mkstemp.m4
|
m4/mkstemp.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
extensions
|
extensions
|
||||||
largefile
|
largefile
|
||||||
tempname [test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1]
|
tempname [test $HAVE_MKSTEMP = 0 || test $REPLACE_MKSTEMP = 1]
|
||||||
|
@@ -6,7 +6,7 @@ lib/mkstemps.c
|
|||||||
m4/mkstemps.m4
|
m4/mkstemps.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
extensions
|
extensions
|
||||||
largefile
|
largefile
|
||||||
tempname [test $HAVE_MKSTEMPS = 0]
|
tempname [test $HAVE_MKSTEMPS = 0]
|
||||||
|
@@ -13,7 +13,7 @@ gettext-h [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
|
|||||||
gnulib-i18n [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
|
gnulib-i18n [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
|
||||||
exitfail [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
|
exitfail [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
|
||||||
stdint-h [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
|
stdint-h [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
|
||||||
stdlib [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
|
stdlib-h [test $HAVE_OBSTACK = 0 || test $REPLACE_OBSTACK = 1]
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_OBSTACK
|
gl_FUNC_OBSTACK
|
||||||
|
@@ -14,7 +14,7 @@ getpagesize
|
|||||||
gettext-h
|
gettext-h
|
||||||
gnulib-i18n
|
gnulib-i18n
|
||||||
open
|
open
|
||||||
stdlib
|
stdlib-h
|
||||||
xalloc
|
xalloc
|
||||||
unistd
|
unistd
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@ gettext-h
|
|||||||
gnulib-i18n
|
gnulib-i18n
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdint-h
|
stdint-h
|
||||||
stdlib
|
stdlib-h
|
||||||
sys_select
|
sys_select
|
||||||
unistd
|
unistd
|
||||||
xalloc
|
xalloc
|
||||||
|
@@ -17,7 +17,7 @@ gettext-h
|
|||||||
gnulib-i18n
|
gnulib-i18n
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdint-h
|
stdint-h
|
||||||
stdlib
|
stdlib-h
|
||||||
sys_select
|
sys_select
|
||||||
unistd
|
unistd
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@ m4/posix_memalign.m4
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
extensions
|
extensions
|
||||||
stdckdint-h [test $REPLACE_POSIX_MEMALIGN = 1]
|
stdckdint-h [test $REPLACE_POSIX_MEMALIGN = 1]
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_POSIX_MEMALIGN
|
gl_FUNC_POSIX_MEMALIGN
|
||||||
|
@@ -7,7 +7,7 @@ m4/posix_openpt.m4
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
extensions
|
extensions
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_POSIX_OPENPT
|
gl_FUNC_POSIX_OPENPT
|
||||||
|
@@ -29,7 +29,7 @@ search-h
|
|||||||
signal-h
|
signal-h
|
||||||
spawn-h
|
spawn-h
|
||||||
stdio-h
|
stdio-h
|
||||||
stdlib
|
stdlib-h
|
||||||
string
|
string
|
||||||
strings
|
strings
|
||||||
sys_file
|
sys_file
|
||||||
|
@@ -8,7 +8,7 @@ lib/pty-private.h
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
ptsname
|
ptsname
|
||||||
root-uid
|
root-uid
|
||||||
stdlib
|
stdlib-h
|
||||||
configmake
|
configmake
|
||||||
stat
|
stat
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@ lib/ptsname.c
|
|||||||
m4/ptsname.m4
|
m4/ptsname.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
extensions
|
extensions
|
||||||
ptsname_r [test $HAVE_PTSNAME = 0]
|
ptsname_r [test $HAVE_PTSNAME = 0]
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@ lib/ptsname_r.c
|
|||||||
m4/ptsname_r.m4
|
m4/ptsname_r.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
extensions
|
extensions
|
||||||
isatty [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1]
|
isatty [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1]
|
||||||
stat [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1]
|
stat [test $HAVE_PTSNAME_R = 0 || test $REPLACE_PTSNAME_R = 1]
|
||||||
|
@@ -6,7 +6,7 @@ lib/putenv.c
|
|||||||
m4/putenv.m4
|
m4/putenv.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
environ [test $REPLACE_PUTENV = 1]
|
environ [test $REPLACE_PUTENV = 1]
|
||||||
free-posix [test $REPLACE_PUTENV = 1]
|
free-posix [test $REPLACE_PUTENV = 1]
|
||||||
malloc-posix [test $REPLACE_PUTENV = 1]
|
malloc-posix [test $REPLACE_PUTENV = 1]
|
||||||
|
@@ -8,7 +8,7 @@ m4/qsort_r.m4
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
extensions
|
extensions
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_QSORT_R
|
gl_FUNC_QSORT_R
|
||||||
|
@@ -12,7 +12,7 @@ lib/rand.c
|
|||||||
m4/rand.m4
|
m4/rand.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
random [test $REPLACE_RAND = 1]
|
random [test $REPLACE_RAND = 1]
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -6,7 +6,7 @@ lib/random.c
|
|||||||
m4/random.m4
|
m4/random.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
libc-config [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1]
|
libc-config [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1]
|
||||||
lock [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1]
|
lock [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1]
|
||||||
stdint-h [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1]
|
stdint-h [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1]
|
||||||
|
@@ -8,7 +8,7 @@ m4/random_r.m4
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
c99
|
c99
|
||||||
libc-config [test $HAVE_RANDOM_R = 0 || test $REPLACE_RANDOM_R = 1]
|
libc-config [test $HAVE_RANDOM_R = 0 || test $REPLACE_RANDOM_R = 1]
|
||||||
stdlib
|
stdlib-h
|
||||||
stdint-h
|
stdint-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -9,7 +9,7 @@ m4/malloc.m4
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
extensions-aix
|
extensions-aix
|
||||||
stdckdint-h [test $REPLACE_REALLOC_FOR_REALLOC_POSIX != 0]
|
stdckdint-h [test $REPLACE_REALLOC_FOR_REALLOC_POSIX != 0]
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_REALLOC_POSIX
|
gl_FUNC_REALLOC_POSIX
|
||||||
|
@@ -11,7 +11,7 @@ Depends-on:
|
|||||||
extensions
|
extensions
|
||||||
realloc-posix [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1]
|
realloc-posix [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1]
|
||||||
stdckdint-h [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1]
|
stdckdint-h [test $HAVE_REALLOCARRAY = 0 || test $REPLACE_REALLOCARRAY = 1]
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_REALLOCARRAY
|
gl_FUNC_REALLOCARRAY
|
||||||
|
@@ -73,7 +73,7 @@ stdbool-h
|
|||||||
stddef-h
|
stddef-h
|
||||||
stdckdint-h
|
stdckdint-h
|
||||||
stdint-h
|
stdint-h
|
||||||
stdlib
|
stdlib-h
|
||||||
string
|
string
|
||||||
sys_stat
|
sys_stat
|
||||||
unistd
|
unistd
|
||||||
|
@@ -6,7 +6,7 @@ lib/rpmatch.c
|
|||||||
m4/rpmatch.m4
|
m4/rpmatch.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
extensions
|
extensions
|
||||||
stdbool-h [test $HAVE_RPMATCH = 0]
|
stdbool-h [test $HAVE_RPMATCH = 0]
|
||||||
gettext-h [test $HAVE_RPMATCH = 0]
|
gettext-h [test $HAVE_RPMATCH = 0]
|
||||||
|
@@ -17,7 +17,7 @@ fcntl-h
|
|||||||
filename
|
filename
|
||||||
raise
|
raise
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdlib
|
stdlib-h
|
||||||
sys_wait
|
sys_wait
|
||||||
unistd
|
unistd
|
||||||
xalloc
|
xalloc
|
||||||
|
@@ -6,7 +6,7 @@ lib/secure_getenv.c
|
|||||||
m4/secure_getenv.m4
|
m4/secure_getenv.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
extensions
|
extensions
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -6,7 +6,7 @@ lib/setenv.c
|
|||||||
m4/setenv.m4
|
m4/setenv.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
malloca [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
|
malloca [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
|
||||||
alloca-opt [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
|
alloca-opt [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
|
||||||
malloc-posix [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
|
malloc-posix [test $HAVE_SETENV = 0 || test $REPLACE_SETENV = 1]
|
||||||
|
@@ -38,7 +38,7 @@ posix_spawnattr_setsigmask
|
|||||||
posix_spawnattr_setflags
|
posix_spawnattr_setflags
|
||||||
posix_spawnattr_destroy
|
posix_spawnattr_destroy
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdlib
|
stdlib-h
|
||||||
unistd
|
unistd
|
||||||
unistd-safer
|
unistd-safer
|
||||||
wait-process
|
wait-process
|
||||||
|
@@ -7,7 +7,7 @@ lib/stack.h
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
assure
|
assure
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdlib
|
stdlib-h
|
||||||
xalloc
|
xalloc
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -7,7 +7,7 @@ lib/stack-trace.c
|
|||||||
m4/stack-trace.m4
|
m4/stack-trace.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
execinfo
|
execinfo
|
||||||
|
|
||||||
configure.ac-early:
|
configure.ac-early:
|
||||||
|
191
modules/stdlib
191
modules/stdlib
@@ -1,196 +1,20 @@
|
|||||||
Description:
|
Description:
|
||||||
A GNU-like <stdlib.h>.
|
A GNU-like <stdlib.h>.
|
||||||
|
|
||||||
|
Status:
|
||||||
|
deprecated
|
||||||
|
|
||||||
|
Notice:
|
||||||
|
This module is deprecated. Use the module 'stdlib-h' instead.
|
||||||
|
|
||||||
Files:
|
Files:
|
||||||
lib/stdlib.c
|
|
||||||
lib/stdlib.in.h
|
|
||||||
m4/stdlib_h.m4
|
|
||||||
m4/locale-en.m4
|
|
||||||
m4/codeset.m4
|
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
gen-header
|
stdlib-h
|
||||||
extern-inline
|
|
||||||
include_next
|
|
||||||
snippet/arg-nonnull
|
|
||||||
snippet/c++defs
|
|
||||||
snippet/warn-on-use
|
|
||||||
snippet/_Noreturn
|
|
||||||
stddef-h
|
|
||||||
unistd
|
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_STDLIB_H
|
|
||||||
gl_STDLIB_H_REQUIRE_DEFAULTS
|
|
||||||
AC_PROG_MKDIR_P
|
|
||||||
|
|
||||||
Makefile.am:
|
Makefile.am:
|
||||||
BUILT_SOURCES += stdlib.h
|
|
||||||
lib_SOURCES += stdlib.c
|
|
||||||
|
|
||||||
stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
|
|
||||||
$(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
|
|
||||||
@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
|
|
||||||
$(gl_V_at)$(SED_HEADER_STDOUT) \
|
|
||||||
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
|
|
||||||
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
|
|
||||||
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
|
|
||||||
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
|
|
||||||
-e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
|
|
||||||
-e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
|
|
||||||
-e 's/@''GNULIB_ABORT_DEBUG''@/$(GNULIB_ABORT_DEBUG)/g' \
|
|
||||||
-e 's/@''GNULIB_ALIGNED_ALLOC''@/$(GNULIB_ALIGNED_ALLOC)/g' \
|
|
||||||
-e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
|
|
||||||
-e 's/@''GNULIB_CALLOC_GNU''@/$(GNULIB_CALLOC_GNU)/g' \
|
|
||||||
-e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
|
|
||||||
-e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
|
|
||||||
-e 's/@''GNULIB_FREE_POSIX''@/$(GNULIB_FREE_POSIX)/g' \
|
|
||||||
-e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
|
|
||||||
-e 's/@''GNULIB_GETPROGNAME''@/$(GNULIB_GETPROGNAME)/g' \
|
|
||||||
-e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
|
|
||||||
-e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
|
|
||||||
-e 's/@''GNULIB_MALLOC_GNU''@/$(GNULIB_MALLOC_GNU)/g' \
|
|
||||||
-e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
|
|
||||||
-e 's/@''GNULIB_MBSTOWCS''@/$(GNULIB_MBSTOWCS)/g' \
|
|
||||||
-e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
|
|
||||||
-e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
|
|
||||||
-e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
|
|
||||||
-e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
|
|
||||||
-e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
|
|
||||||
-e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
|
|
||||||
-e 's/@''GNULIB_POSIX_MEMALIGN''@/$(GNULIB_POSIX_MEMALIGN)/g' \
|
|
||||||
-e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
|
|
||||||
-e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
|
|
||||||
-e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
|
|
||||||
-e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
|
|
||||||
-e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \
|
|
||||||
-e 's/@''GNULIB_RAND''@/$(GNULIB_RAND)/g' \
|
|
||||||
-e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
|
|
||||||
-e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
|
|
||||||
-e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
|
|
||||||
-e 's/@''GNULIB_REALLOCARRAY''@/$(GNULIB_REALLOCARRAY)/g' \
|
|
||||||
-e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
|
|
||||||
-e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
|
|
||||||
-e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
|
|
||||||
-e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
|
|
||||||
-e 's/@''GNULIB_STACK_TRACE''@/$(GNULIB_STACK_TRACE)/g' \
|
|
||||||
-e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
|
|
||||||
-e 's/@''GNULIB_STRTOF''@/$(GNULIB_STRTOF)/g' \
|
|
||||||
-e 's/@''GNULIB_STRTOL''@/$(GNULIB_STRTOL)/g' \
|
|
||||||
-e 's/@''GNULIB_STRTOLD''@/$(GNULIB_STRTOLD)/g' \
|
|
||||||
-e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
|
|
||||||
-e 's/@''GNULIB_STRTOUL''@/$(GNULIB_STRTOUL)/g' \
|
|
||||||
-e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
|
|
||||||
-e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
|
|
||||||
-e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
|
|
||||||
-e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
|
|
||||||
-e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
|
|
||||||
-e 's/@''GNULIB_MDA_ECVT''@/$(GNULIB_MDA_ECVT)/g' \
|
|
||||||
-e 's/@''GNULIB_MDA_FCVT''@/$(GNULIB_MDA_FCVT)/g' \
|
|
||||||
-e 's/@''GNULIB_MDA_GCVT''@/$(GNULIB_MDA_GCVT)/g' \
|
|
||||||
-e 's/@''GNULIB_MDA_MKTEMP''@/$(GNULIB_MDA_MKTEMP)/g' \
|
|
||||||
-e 's/@''GNULIB_MDA_PUTENV''@/$(GNULIB_MDA_PUTENV)/g' \
|
|
||||||
< $(srcdir)/stdlib.in.h > $@-t1
|
|
||||||
$(AM_V_at)sed \
|
|
||||||
-e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
|
|
||||||
-e 's|@''HAVE_ALIGNED_ALLOC''@|$(HAVE_ALIGNED_ALLOC)|g' \
|
|
||||||
-e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
|
|
||||||
-e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
|
|
||||||
-e 's|@''HAVE_DECL_ECVT''@|$(HAVE_DECL_ECVT)|g' \
|
|
||||||
-e 's|@''HAVE_DECL_FCVT''@|$(HAVE_DECL_FCVT)|g' \
|
|
||||||
-e 's|@''HAVE_DECL_GCVT''@|$(HAVE_DECL_GCVT)|g' \
|
|
||||||
-e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
|
|
||||||
-e 's|@''HAVE_DECL_PROGRAM_INVOCATION_NAME''@|$(HAVE_DECL_PROGRAM_INVOCATION_NAME)|g' \
|
|
||||||
-e 's|@''HAVE_GETPROGNAME''@|$(HAVE_GETPROGNAME)|g' \
|
|
||||||
-e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
|
|
||||||
-e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
|
|
||||||
-e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \
|
|
||||||
-e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \
|
|
||||||
-e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \
|
|
||||||
-e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
|
|
||||||
-e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
|
|
||||||
-e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
|
|
||||||
-e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
|
|
||||||
-e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
|
|
||||||
-e 's|@''HAVE_POSIX_MEMALIGN''@|$(HAVE_POSIX_MEMALIGN)|g' \
|
|
||||||
-e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
|
|
||||||
-e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
|
|
||||||
-e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
|
|
||||||
-e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \
|
|
||||||
-e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
|
|
||||||
-e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
|
|
||||||
-e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
|
|
||||||
-e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \
|
|
||||||
-e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
|
|
||||||
-e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
|
|
||||||
-e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
|
|
||||||
-e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
|
|
||||||
-e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \
|
|
||||||
-e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \
|
|
||||||
-e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
|
|
||||||
-e 's|@''HAVE_STRTOF''@|$(HAVE_STRTOF)|g' \
|
|
||||||
-e 's|@''HAVE_STRTOL''@|$(HAVE_STRTOL)|g' \
|
|
||||||
-e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \
|
|
||||||
-e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
|
|
||||||
-e 's|@''HAVE_STRTOUL''@|$(HAVE_STRTOUL)|g' \
|
|
||||||
-e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
|
|
||||||
-e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
|
|
||||||
-e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
|
|
||||||
-e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
|
|
||||||
-e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
|
|
||||||
< $@-t1 > $@-t2
|
|
||||||
$(AM_V_at)sed \
|
|
||||||
-e 's|@''REPLACE__EXIT''@|$(REPLACE__EXIT)|g' \
|
|
||||||
-e 's|@''REPLACE_ABORT''@|$(REPLACE_ABORT)|g' \
|
|
||||||
-e 's|@''REPLACE_ALIGNED_ALLOC''@|$(REPLACE_ALIGNED_ALLOC)|g' \
|
|
||||||
-e 's|@''REPLACE_CALLOC_FOR_CALLOC_GNU''@|$(REPLACE_CALLOC_FOR_CALLOC_GNU)|g' \
|
|
||||||
-e 's|@''REPLACE_CALLOC_FOR_CALLOC_POSIX''@|$(REPLACE_CALLOC_FOR_CALLOC_POSIX)|g' \
|
|
||||||
-e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
|
|
||||||
-e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
|
|
||||||
-e 's|@''REPLACE_GETLOADAVG''@|$(REPLACE_GETLOADAVG)|g' \
|
|
||||||
-e 's|@''REPLACE_GETPROGNAME''@|$(REPLACE_GETPROGNAME)|g' \
|
|
||||||
-e 's|@''REPLACE_GETSUBOPT''@|$(REPLACE_GETSUBOPT)|g' \
|
|
||||||
-e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \
|
|
||||||
-e 's|@''REPLACE_MALLOC_FOR_MALLOC_GNU''@|$(REPLACE_MALLOC_FOR_MALLOC_GNU)|g' \
|
|
||||||
-e 's|@''REPLACE_MALLOC_FOR_MALLOC_POSIX''@|$(REPLACE_MALLOC_FOR_MALLOC_POSIX)|g' \
|
|
||||||
-e 's|@''REPLACE_MB_CUR_MAX''@|$(REPLACE_MB_CUR_MAX)|g' \
|
|
||||||
-e 's|@''REPLACE_MBSTOWCS''@|$(REPLACE_MBSTOWCS)|g' \
|
|
||||||
-e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
|
|
||||||
-e 's|@''REPLACE_MKOSTEMP''@|$(REPLACE_MKOSTEMP)|g' \
|
|
||||||
-e 's|@''REPLACE_MKOSTEMPS''@|$(REPLACE_MKOSTEMPS)|g' \
|
|
||||||
-e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
|
|
||||||
-e 's|@''REPLACE_POSIX_MEMALIGN''@|$(REPLACE_POSIX_MEMALIGN)|g' \
|
|
||||||
-e 's|@''REPLACE_POSIX_OPENPT''@|$(REPLACE_POSIX_OPENPT)|g' \
|
|
||||||
-e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
|
|
||||||
-e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
|
|
||||||
-e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
|
|
||||||
-e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
|
|
||||||
-e 's|@''REPLACE_RAND''@|$(REPLACE_RAND)|g' \
|
|
||||||
-e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \
|
|
||||||
-e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
|
|
||||||
-e 's|@''REPLACE_REALLOC_FOR_REALLOC_POSIX''@|$(REPLACE_REALLOC_FOR_REALLOC_POSIX)|g' \
|
|
||||||
-e 's|@''REPLACE_REALLOCARRAY''@|$(REPLACE_REALLOCARRAY)|g' \
|
|
||||||
-e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
|
|
||||||
-e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
|
|
||||||
-e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \
|
|
||||||
-e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
|
|
||||||
-e 's|@''REPLACE_STRTOF''@|$(REPLACE_STRTOF)|g' \
|
|
||||||
-e 's|@''REPLACE_STRTOL''@|$(REPLACE_STRTOL)|g' \
|
|
||||||
-e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \
|
|
||||||
-e 's|@''REPLACE_STRTOLL''@|$(REPLACE_STRTOLL)|g' \
|
|
||||||
-e 's|@''REPLACE_STRTOUL''@|$(REPLACE_STRTOUL)|g' \
|
|
||||||
-e 's|@''REPLACE_STRTOULL''@|$(REPLACE_STRTOULL)|g' \
|
|
||||||
-e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
|
|
||||||
-e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
|
|
||||||
-e 's|@''CAN_PRINT_STACK_TRACE''@|$(CAN_PRINT_STACK_TRACE)|g' \
|
|
||||||
-e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
|
|
||||||
-e '/definition of _Noreturn/r $(_NORETURN_H)' \
|
|
||||||
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
|
|
||||||
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
|
|
||||||
< $@-t2 > $@-t3
|
|
||||||
$(AM_V_at)rm -f $@-t1 $@-t2
|
|
||||||
$(AM_V_at)mv $@-t3 $@
|
|
||||||
MOSTLYCLEANFILES += stdlib.h stdlib.h-t1 stdlib.h-t2 stdlib.h-t3
|
|
||||||
|
|
||||||
Include:
|
Include:
|
||||||
<stdlib.h>
|
<stdlib.h>
|
||||||
@@ -199,4 +23,3 @@ License:
|
|||||||
LGPLv2+
|
LGPLv2+
|
||||||
|
|
||||||
Maintainer:
|
Maintainer:
|
||||||
all
|
|
||||||
|
@@ -1,20 +0,0 @@
|
|||||||
Files:
|
|
||||||
tests/test-stdlib-c++.cc
|
|
||||||
tests/test-stdlib-c++2.cc
|
|
||||||
tests/signature.h
|
|
||||||
|
|
||||||
Status:
|
|
||||||
c++-test
|
|
||||||
|
|
||||||
Depends-on:
|
|
||||||
ansi-c++-opt
|
|
||||||
|
|
||||||
configure.ac:
|
|
||||||
|
|
||||||
Makefile.am:
|
|
||||||
if ANSICXX
|
|
||||||
TESTS += test-stdlib-c++
|
|
||||||
check_PROGRAMS += test-stdlib-c++
|
|
||||||
test_stdlib_c___SOURCES = test-stdlib-c++.cc test-stdlib-c++2.cc
|
|
||||||
test_stdlib_c___LDADD = $(LDADD) $(LIBINTL) $(GETLOADAVG_LIBS) $(CLOCK_TIME_LIB) $(EUIDACCESS_LIBGEN) $(GETRANDOM_LIB)
|
|
||||||
endif
|
|
202
modules/stdlib-h
Normal file
202
modules/stdlib-h
Normal file
@@ -0,0 +1,202 @@
|
|||||||
|
Description:
|
||||||
|
A GNU-like <stdlib.h>.
|
||||||
|
|
||||||
|
Files:
|
||||||
|
lib/stdlib.c
|
||||||
|
lib/stdlib.in.h
|
||||||
|
m4/stdlib_h.m4
|
||||||
|
m4/locale-en.m4
|
||||||
|
m4/codeset.m4
|
||||||
|
|
||||||
|
Depends-on:
|
||||||
|
gen-header
|
||||||
|
extern-inline
|
||||||
|
include_next
|
||||||
|
snippet/arg-nonnull
|
||||||
|
snippet/c++defs
|
||||||
|
snippet/warn-on-use
|
||||||
|
snippet/_Noreturn
|
||||||
|
stddef-h
|
||||||
|
unistd
|
||||||
|
|
||||||
|
configure.ac:
|
||||||
|
gl_STDLIB_H
|
||||||
|
gl_STDLIB_H_REQUIRE_DEFAULTS
|
||||||
|
AC_PROG_MKDIR_P
|
||||||
|
|
||||||
|
Makefile.am:
|
||||||
|
BUILT_SOURCES += stdlib.h
|
||||||
|
lib_SOURCES += stdlib.c
|
||||||
|
|
||||||
|
stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
|
||||||
|
$(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
|
||||||
|
@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
|
||||||
|
$(gl_V_at)$(SED_HEADER_STDOUT) \
|
||||||
|
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
|
||||||
|
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
|
||||||
|
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
|
||||||
|
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
|
||||||
|
-e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \
|
||||||
|
-e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \
|
||||||
|
-e 's/@''GNULIB_ABORT_DEBUG''@/$(GNULIB_ABORT_DEBUG)/g' \
|
||||||
|
-e 's/@''GNULIB_ALIGNED_ALLOC''@/$(GNULIB_ALIGNED_ALLOC)/g' \
|
||||||
|
-e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \
|
||||||
|
-e 's/@''GNULIB_CALLOC_GNU''@/$(GNULIB_CALLOC_GNU)/g' \
|
||||||
|
-e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \
|
||||||
|
-e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \
|
||||||
|
-e 's/@''GNULIB_FREE_POSIX''@/$(GNULIB_FREE_POSIX)/g' \
|
||||||
|
-e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \
|
||||||
|
-e 's/@''GNULIB_GETPROGNAME''@/$(GNULIB_GETPROGNAME)/g' \
|
||||||
|
-e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \
|
||||||
|
-e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \
|
||||||
|
-e 's/@''GNULIB_MALLOC_GNU''@/$(GNULIB_MALLOC_GNU)/g' \
|
||||||
|
-e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \
|
||||||
|
-e 's/@''GNULIB_MBSTOWCS''@/$(GNULIB_MBSTOWCS)/g' \
|
||||||
|
-e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \
|
||||||
|
-e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \
|
||||||
|
-e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \
|
||||||
|
-e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \
|
||||||
|
-e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \
|
||||||
|
-e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \
|
||||||
|
-e 's/@''GNULIB_POSIX_MEMALIGN''@/$(GNULIB_POSIX_MEMALIGN)/g' \
|
||||||
|
-e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \
|
||||||
|
-e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \
|
||||||
|
-e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \
|
||||||
|
-e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \
|
||||||
|
-e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \
|
||||||
|
-e 's/@''GNULIB_RAND''@/$(GNULIB_RAND)/g' \
|
||||||
|
-e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \
|
||||||
|
-e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \
|
||||||
|
-e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \
|
||||||
|
-e 's/@''GNULIB_REALLOCARRAY''@/$(GNULIB_REALLOCARRAY)/g' \
|
||||||
|
-e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \
|
||||||
|
-e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \
|
||||||
|
-e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \
|
||||||
|
-e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \
|
||||||
|
-e 's/@''GNULIB_STACK_TRACE''@/$(GNULIB_STACK_TRACE)/g' \
|
||||||
|
-e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \
|
||||||
|
-e 's/@''GNULIB_STRTOF''@/$(GNULIB_STRTOF)/g' \
|
||||||
|
-e 's/@''GNULIB_STRTOL''@/$(GNULIB_STRTOL)/g' \
|
||||||
|
-e 's/@''GNULIB_STRTOLD''@/$(GNULIB_STRTOLD)/g' \
|
||||||
|
-e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \
|
||||||
|
-e 's/@''GNULIB_STRTOUL''@/$(GNULIB_STRTOUL)/g' \
|
||||||
|
-e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \
|
||||||
|
-e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \
|
||||||
|
-e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \
|
||||||
|
-e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \
|
||||||
|
-e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \
|
||||||
|
-e 's/@''GNULIB_MDA_ECVT''@/$(GNULIB_MDA_ECVT)/g' \
|
||||||
|
-e 's/@''GNULIB_MDA_FCVT''@/$(GNULIB_MDA_FCVT)/g' \
|
||||||
|
-e 's/@''GNULIB_MDA_GCVT''@/$(GNULIB_MDA_GCVT)/g' \
|
||||||
|
-e 's/@''GNULIB_MDA_MKTEMP''@/$(GNULIB_MDA_MKTEMP)/g' \
|
||||||
|
-e 's/@''GNULIB_MDA_PUTENV''@/$(GNULIB_MDA_PUTENV)/g' \
|
||||||
|
< $(srcdir)/stdlib.in.h > $@-t1
|
||||||
|
$(AM_V_at)sed \
|
||||||
|
-e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \
|
||||||
|
-e 's|@''HAVE_ALIGNED_ALLOC''@|$(HAVE_ALIGNED_ALLOC)|g' \
|
||||||
|
-e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \
|
||||||
|
-e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \
|
||||||
|
-e 's|@''HAVE_DECL_ECVT''@|$(HAVE_DECL_ECVT)|g' \
|
||||||
|
-e 's|@''HAVE_DECL_FCVT''@|$(HAVE_DECL_FCVT)|g' \
|
||||||
|
-e 's|@''HAVE_DECL_GCVT''@|$(HAVE_DECL_GCVT)|g' \
|
||||||
|
-e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \
|
||||||
|
-e 's|@''HAVE_DECL_PROGRAM_INVOCATION_NAME''@|$(HAVE_DECL_PROGRAM_INVOCATION_NAME)|g' \
|
||||||
|
-e 's|@''HAVE_GETPROGNAME''@|$(HAVE_GETPROGNAME)|g' \
|
||||||
|
-e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \
|
||||||
|
-e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \
|
||||||
|
-e 's|@''HAVE_INITSTATE''@|$(HAVE_INITSTATE)|g' \
|
||||||
|
-e 's|@''HAVE_DECL_INITSTATE''@|$(HAVE_DECL_INITSTATE)|g' \
|
||||||
|
-e 's|@''HAVE_MBTOWC''@|$(HAVE_MBTOWC)|g' \
|
||||||
|
-e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \
|
||||||
|
-e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \
|
||||||
|
-e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \
|
||||||
|
-e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \
|
||||||
|
-e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \
|
||||||
|
-e 's|@''HAVE_POSIX_MEMALIGN''@|$(HAVE_POSIX_MEMALIGN)|g' \
|
||||||
|
-e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \
|
||||||
|
-e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \
|
||||||
|
-e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \
|
||||||
|
-e 's|@''HAVE_QSORT_R''@|$(HAVE_QSORT_R)|g' \
|
||||||
|
-e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \
|
||||||
|
-e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \
|
||||||
|
-e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \
|
||||||
|
-e 's|@''HAVE_REALLOCARRAY''@|$(HAVE_REALLOCARRAY)|g' \
|
||||||
|
-e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \
|
||||||
|
-e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \
|
||||||
|
-e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \
|
||||||
|
-e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \
|
||||||
|
-e 's|@''HAVE_SETSTATE''@|$(HAVE_SETSTATE)|g' \
|
||||||
|
-e 's|@''HAVE_DECL_SETSTATE''@|$(HAVE_DECL_SETSTATE)|g' \
|
||||||
|
-e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \
|
||||||
|
-e 's|@''HAVE_STRTOF''@|$(HAVE_STRTOF)|g' \
|
||||||
|
-e 's|@''HAVE_STRTOL''@|$(HAVE_STRTOL)|g' \
|
||||||
|
-e 's|@''HAVE_STRTOLD''@|$(HAVE_STRTOLD)|g' \
|
||||||
|
-e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \
|
||||||
|
-e 's|@''HAVE_STRTOUL''@|$(HAVE_STRTOUL)|g' \
|
||||||
|
-e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \
|
||||||
|
-e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \
|
||||||
|
-e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \
|
||||||
|
-e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \
|
||||||
|
-e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \
|
||||||
|
< $@-t1 > $@-t2
|
||||||
|
$(AM_V_at)sed \
|
||||||
|
-e 's|@''REPLACE__EXIT''@|$(REPLACE__EXIT)|g' \
|
||||||
|
-e 's|@''REPLACE_ABORT''@|$(REPLACE_ABORT)|g' \
|
||||||
|
-e 's|@''REPLACE_ALIGNED_ALLOC''@|$(REPLACE_ALIGNED_ALLOC)|g' \
|
||||||
|
-e 's|@''REPLACE_CALLOC_FOR_CALLOC_GNU''@|$(REPLACE_CALLOC_FOR_CALLOC_GNU)|g' \
|
||||||
|
-e 's|@''REPLACE_CALLOC_FOR_CALLOC_POSIX''@|$(REPLACE_CALLOC_FOR_CALLOC_POSIX)|g' \
|
||||||
|
-e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \
|
||||||
|
-e 's|@''REPLACE_FREE''@|$(REPLACE_FREE)|g' \
|
||||||
|
-e 's|@''REPLACE_GETLOADAVG''@|$(REPLACE_GETLOADAVG)|g' \
|
||||||
|
-e 's|@''REPLACE_GETPROGNAME''@|$(REPLACE_GETPROGNAME)|g' \
|
||||||
|
-e 's|@''REPLACE_GETSUBOPT''@|$(REPLACE_GETSUBOPT)|g' \
|
||||||
|
-e 's|@''REPLACE_INITSTATE''@|$(REPLACE_INITSTATE)|g' \
|
||||||
|
-e 's|@''REPLACE_MALLOC_FOR_MALLOC_GNU''@|$(REPLACE_MALLOC_FOR_MALLOC_GNU)|g' \
|
||||||
|
-e 's|@''REPLACE_MALLOC_FOR_MALLOC_POSIX''@|$(REPLACE_MALLOC_FOR_MALLOC_POSIX)|g' \
|
||||||
|
-e 's|@''REPLACE_MB_CUR_MAX''@|$(REPLACE_MB_CUR_MAX)|g' \
|
||||||
|
-e 's|@''REPLACE_MBSTOWCS''@|$(REPLACE_MBSTOWCS)|g' \
|
||||||
|
-e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \
|
||||||
|
-e 's|@''REPLACE_MKOSTEMP''@|$(REPLACE_MKOSTEMP)|g' \
|
||||||
|
-e 's|@''REPLACE_MKOSTEMPS''@|$(REPLACE_MKOSTEMPS)|g' \
|
||||||
|
-e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \
|
||||||
|
-e 's|@''REPLACE_POSIX_MEMALIGN''@|$(REPLACE_POSIX_MEMALIGN)|g' \
|
||||||
|
-e 's|@''REPLACE_POSIX_OPENPT''@|$(REPLACE_POSIX_OPENPT)|g' \
|
||||||
|
-e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \
|
||||||
|
-e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \
|
||||||
|
-e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \
|
||||||
|
-e 's|@''REPLACE_QSORT_R''@|$(REPLACE_QSORT_R)|g' \
|
||||||
|
-e 's|@''REPLACE_RAND''@|$(REPLACE_RAND)|g' \
|
||||||
|
-e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \
|
||||||
|
-e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \
|
||||||
|
-e 's|@''REPLACE_REALLOC_FOR_REALLOC_POSIX''@|$(REPLACE_REALLOC_FOR_REALLOC_POSIX)|g' \
|
||||||
|
-e 's|@''REPLACE_REALLOCARRAY''@|$(REPLACE_REALLOCARRAY)|g' \
|
||||||
|
-e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \
|
||||||
|
-e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \
|
||||||
|
-e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \
|
||||||
|
-e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \
|
||||||
|
-e 's|@''REPLACE_STRTOF''@|$(REPLACE_STRTOF)|g' \
|
||||||
|
-e 's|@''REPLACE_STRTOL''@|$(REPLACE_STRTOL)|g' \
|
||||||
|
-e 's|@''REPLACE_STRTOLD''@|$(REPLACE_STRTOLD)|g' \
|
||||||
|
-e 's|@''REPLACE_STRTOLL''@|$(REPLACE_STRTOLL)|g' \
|
||||||
|
-e 's|@''REPLACE_STRTOUL''@|$(REPLACE_STRTOUL)|g' \
|
||||||
|
-e 's|@''REPLACE_STRTOULL''@|$(REPLACE_STRTOULL)|g' \
|
||||||
|
-e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \
|
||||||
|
-e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \
|
||||||
|
-e 's|@''CAN_PRINT_STACK_TRACE''@|$(CAN_PRINT_STACK_TRACE)|g' \
|
||||||
|
-e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
|
||||||
|
-e '/definition of _Noreturn/r $(_NORETURN_H)' \
|
||||||
|
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
|
||||||
|
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
|
||||||
|
< $@-t2 > $@-t3
|
||||||
|
$(AM_V_at)rm -f $@-t1 $@-t2
|
||||||
|
$(AM_V_at)mv $@-t3 $@
|
||||||
|
MOSTLYCLEANFILES += stdlib.h stdlib.h-t1 stdlib.h-t2 stdlib.h-t3
|
||||||
|
|
||||||
|
Include:
|
||||||
|
<stdlib.h>
|
||||||
|
|
||||||
|
License:
|
||||||
|
LGPLv2+
|
||||||
|
|
||||||
|
Maintainer:
|
||||||
|
all
|
20
modules/stdlib-h-c++-tests
Normal file
20
modules/stdlib-h-c++-tests
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
Files:
|
||||||
|
tests/test-stdlib-h-c++.cc
|
||||||
|
tests/test-stdlib-h-c++2.cc
|
||||||
|
tests/signature.h
|
||||||
|
|
||||||
|
Status:
|
||||||
|
c++-test
|
||||||
|
|
||||||
|
Depends-on:
|
||||||
|
ansi-c++-opt
|
||||||
|
|
||||||
|
configure.ac:
|
||||||
|
|
||||||
|
Makefile.am:
|
||||||
|
if ANSICXX
|
||||||
|
TESTS += test-stdlib-h-c++
|
||||||
|
check_PROGRAMS += test-stdlib-h-c++
|
||||||
|
test_stdlib_h_c___SOURCES = test-stdlib-h-c++.cc test-stdlib-h-c++2.cc
|
||||||
|
test_stdlib_h_c___LDADD = $(LDADD) $(LIBINTL) $(GETLOADAVG_LIBS) $(CLOCK_TIME_LIB) $(EUIDACCESS_LIBGEN) $(GETRANDOM_LIB)
|
||||||
|
endif
|
13
modules/stdlib-h-tests
Normal file
13
modules/stdlib-h-tests
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
Files:
|
||||||
|
tests/test-stdlib-h.c
|
||||||
|
tests/test-sys_wait.h
|
||||||
|
|
||||||
|
Depends-on:
|
||||||
|
assert-h
|
||||||
|
stdlib-h-c++-tests
|
||||||
|
|
||||||
|
configure.ac:
|
||||||
|
|
||||||
|
Makefile.am:
|
||||||
|
TESTS += test-stdlib-h
|
||||||
|
check_PROGRAMS += test-stdlib-h
|
@@ -9,7 +9,7 @@ lib/mkstemp-safer.c
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
fd-safer-flag
|
fd-safer-flag
|
||||||
mkstemp
|
mkstemp
|
||||||
stdlib
|
stdlib-h
|
||||||
unistd-safer
|
unistd-safer
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -1,13 +0,0 @@
|
|||||||
Files:
|
|
||||||
tests/test-stdlib.c
|
|
||||||
tests/test-sys_wait.h
|
|
||||||
|
|
||||||
Depends-on:
|
|
||||||
assert-h
|
|
||||||
stdlib-c++-tests
|
|
||||||
|
|
||||||
configure.ac:
|
|
||||||
|
|
||||||
Makefile.am:
|
|
||||||
TESTS += test-stdlib
|
|
||||||
check_PROGRAMS += test-stdlib
|
|
@@ -14,7 +14,7 @@ snippet/arg-nonnull
|
|||||||
snippet/c++defs
|
snippet/c++defs
|
||||||
snippet/warn-on-use
|
snippet/warn-on-use
|
||||||
stddef-h
|
stddef-h
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_STRING_H
|
gl_STRING_H
|
||||||
|
@@ -7,7 +7,7 @@ m4/strtod.m4
|
|||||||
m4/ldexp.m4
|
m4/ldexp.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
strtod-obsolete
|
strtod-obsolete
|
||||||
c-ctype [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
|
c-ctype [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
|
||||||
math-h [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
|
math-h [test $HAVE_STRTOD = 0 || test $REPLACE_STRTOD = 1]
|
||||||
|
@@ -8,7 +8,7 @@ m4/strtof.m4
|
|||||||
m4/ldexpf.m4
|
m4/ldexpf.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
c-ctype [test $HAVE_STRTOF = 0 || test $REPLACE_STRTOF = 1]
|
c-ctype [test $HAVE_STRTOF = 0 || test $REPLACE_STRTOF = 1]
|
||||||
math-h [test $HAVE_STRTOF = 0 || test $REPLACE_STRTOF = 1]
|
math-h [test $HAVE_STRTOF = 0 || test $REPLACE_STRTOF = 1]
|
||||||
stdbool-h [test $HAVE_STRTOF = 0 || test $REPLACE_STRTOF = 1]
|
stdbool-h [test $HAVE_STRTOF = 0 || test $REPLACE_STRTOF = 1]
|
||||||
|
@@ -6,7 +6,7 @@ lib/strtol.c
|
|||||||
m4/strtol.m4
|
m4/strtol.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_STRTOL
|
gl_FUNC_STRTOL
|
||||||
|
@@ -9,7 +9,7 @@ m4/math_h.m4
|
|||||||
m4/ldexpl.m4
|
m4/ldexpl.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
c-ctype [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1]
|
c-ctype [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1]
|
||||||
math-h [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1]
|
math-h [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1]
|
||||||
stdbool-h [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1]
|
stdbool-h [test $HAVE_STRTOLD = 0 || test $REPLACE_STRTOLD = 1]
|
||||||
|
@@ -8,7 +8,7 @@ m4/strtoll.m4
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
limits-h
|
limits-h
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_STRTOLL
|
gl_FUNC_STRTOLL
|
||||||
|
@@ -7,7 +7,7 @@ lib/strtoul.c
|
|||||||
m4/strtoul.m4
|
m4/strtoul.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_STRTOUL
|
gl_FUNC_STRTOUL
|
||||||
|
@@ -9,7 +9,7 @@ m4/strtoull.m4
|
|||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
limits-h
|
limits-h
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_FUNC_STRTOULL
|
gl_FUNC_STRTOULL
|
||||||
|
@@ -8,7 +8,7 @@ m4/sysexits.m4
|
|||||||
Depends-on:
|
Depends-on:
|
||||||
gen-header
|
gen-header
|
||||||
include_next
|
include_next
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_SYSEXITS
|
gl_SYSEXITS
|
||||||
|
@@ -4,7 +4,7 @@ system() function: execute a shell command
|
|||||||
Files:
|
Files:
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
sys_wait
|
sys_wait
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
@@ -15,7 +15,7 @@ gethrxtime
|
|||||||
getrusage
|
getrusage
|
||||||
gettext-h
|
gettext-h
|
||||||
gnulib-i18n
|
gnulib-i18n
|
||||||
stdlib
|
stdlib-h
|
||||||
sys_time
|
sys_time
|
||||||
sys_times
|
sys_times
|
||||||
xalloc
|
xalloc
|
||||||
|
@@ -7,7 +7,7 @@ lib/unlockpt.c
|
|||||||
m4/unlockpt.m4
|
m4/unlockpt.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
extensions
|
extensions
|
||||||
fcntl-h [test $HAVE_UNLOCKPT = 0]
|
fcntl-h [test $HAVE_UNLOCKPT = 0]
|
||||||
ptsname [test $HAVE_UNLOCKPT = 0]
|
ptsname [test $HAVE_UNLOCKPT = 0]
|
||||||
|
@@ -6,7 +6,7 @@ lib/unsetenv.c
|
|||||||
m4/setenv.m4
|
m4/setenv.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
unistd [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1]
|
unistd [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1]
|
||||||
environ [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1]
|
environ [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1]
|
||||||
free-posix [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1]
|
free-posix [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1]
|
||||||
|
@@ -15,7 +15,7 @@ xalloc-die
|
|||||||
gettext-h
|
gettext-h
|
||||||
gnulib-i18n
|
gnulib-i18n
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdlib
|
stdlib-h
|
||||||
sys_wait
|
sys_wait
|
||||||
unistd
|
unistd
|
||||||
atexit
|
atexit
|
||||||
|
@@ -16,7 +16,7 @@ snippet/warn-on-use
|
|||||||
extern-inline
|
extern-inline
|
||||||
inttypes-h-incomplete
|
inttypes-h-incomplete
|
||||||
stddef-h
|
stddef-h
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
gl_WCHAR_H
|
gl_WCHAR_H
|
||||||
|
@@ -7,7 +7,7 @@ lib/wctomb-impl.h
|
|||||||
m4/wctomb.m4
|
m4/wctomb.m4
|
||||||
|
|
||||||
Depends-on:
|
Depends-on:
|
||||||
stdlib
|
stdlib-h
|
||||||
wchar [test $REPLACE_WCTOMB = 1]
|
wchar [test $REPLACE_WCTOMB = 1]
|
||||||
mbszero [test $REPLACE_WCTOMB = 1]
|
mbszero [test $REPLACE_WCTOMB = 1]
|
||||||
wcrtomb [test $REPLACE_WCTOMB = 1]
|
wcrtomb [test $REPLACE_WCTOMB = 1]
|
||||||
|
@@ -13,7 +13,7 @@ findprog-in
|
|||||||
msvc-nothrow
|
msvc-nothrow
|
||||||
stdbool-h
|
stdbool-h
|
||||||
stdint-h
|
stdint-h
|
||||||
stdlib
|
stdlib-h
|
||||||
strpbrk
|
strpbrk
|
||||||
unistd
|
unistd
|
||||||
malloc-posix
|
malloc-posix
|
||||||
|
@@ -12,7 +12,7 @@ unsetenv
|
|||||||
error
|
error
|
||||||
gettext-h
|
gettext-h
|
||||||
gnulib-i18n
|
gnulib-i18n
|
||||||
stdlib
|
stdlib-h
|
||||||
|
|
||||||
configure.ac:
|
configure.ac:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user