Mercurial > gnulib
view modules/printf-frexpl @ 17311:ab5135d5ff83
getcwd: break fdopendir + save_cwd recursive loop (Bug#13516)
Reported for OS X 10.8.2 by Assaf Gordon in
<http://bugs.gnu.org/13516>.
* lib/getcwd.c (HAVE_OPENAT_SUPPORT): Do not define if
!HAVE_OPENAT && !HAVE_FDOPENDIR.
* m4/getcwd-abort-bug.m4: Reformat to match test-getcwd.c
so that they can be kept in sync more easily. Avoid PATH_MAX
test on the Hurd. Sync from test-getcwd.c for errno tests after
mkdir or chdir failure.
* tests/test-getcwd.c (HAVE_OPENAT_SUPPORT): New macro, from
lib/getcwd.c.
(test_abort_bug): Do not test for the deep directory bug unless we
have openat support. Avoid PATH_MAX test on the Hurd.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sun, 03 Feb 2013 21:28:30 -0800 |
parents | 6860d9f2e394 |
children | 1f14c6dd175d |
line wrap: on
line source
Description: printf_frexpl() function: split a long double into fraction and mantissa, for hexadecimal printf, without requiring libm. Files: lib/printf-frexpl.h lib/printf-frexpl.c lib/printf-frexp.c m4/printf-frexpl.m4 m4/frexpl.m4 m4/ldexpl.m4 Depends-on: printf-frexp [test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 1] float [test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] math [test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] fpucw [test $HAVE_SAME_LONG_DOUBLE_AS_DOUBLE = 0] configure.ac: gl_FUNC_PRINTF_FREXPL Makefile.am: lib_SOURCES += printf-frexpl.c Include: "printf-frexpl.h" License: LGPL Maintainer: Bruno Haible