summaryrefslogtreecommitdiff
path: root/MODULES.html.sh
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-05-24 15:33:49 -0600
committerEric Blake <eblake@redhat.com>2011-06-01 08:58:23 -0600
commit63ce57e7e9fff1265da4e0a4d2639483c28b6b93 (patch)
tree66c56de09a1eee647a45eafe5b085670c22020c6 /MODULES.html.sh
parent6b66ce308dae8448f02da645a9fd8fb992349f06 (diff)
downloadgnulib-63ce57e7e9fff1265da4e0a4d2639483c28b6b93.tar.gz
strerror: drop strerror_r dependency
Since the errno module is responsible for introducing replacement errno values, it should also be responsible for translating those new values into strings. And by moving the replacements into a file managed by the errno, we can then break the dependency between strerror and strerror_r, so that strerror no longer drags in multi-threading modules required by strerror_r. Tested on glibc with: gl_cv_header_errno_h_complete=no gl_cv_func_working_strerror=no \ gl_cv_func_strerror_r_works=no ./gnulib-tool --with-tests \ --test strerror strerror_r-posix * lib/strerror_r.c (strerror_r): Move gnulib replacement strings... * lib/strerror-override.c (strerror_override): ...to new file. * lib/strerror-override.h: Add prototype. * lib/strerror-impl.h: Delete. * lib/strerror.c (strerror): New implementation. * modules/errno (Files): Add new files. (configure.ac): Compile new file as appropriate. * modules/strerror (Files): Drop unused file. (Depends-on): Drop strerror_r-posix. * MODULES.html.sh: Document strerror_r-posix. Requested by Sam Steingold. Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'MODULES.html.sh')
-rwxr-xr-xMODULES.html.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/MODULES.html.sh b/MODULES.html.sh
index 18a7472d72..f929ecfbc1 100755
--- a/MODULES.html.sh
+++ b/MODULES.html.sh
@@ -1789,6 +1789,7 @@ func_all_modules ()
func_module strcasestr-simple
func_module strchrnul
func_module streq
+ func_module strerror_r-posix
func_module strnlen
func_module strnlen1
func_module strndup