* m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Add GL_NOCRASH code.
* modules/canonicalize (Depends-on): Add 'nocrash'.
* modules/canonicalize-lgpl (Depends-on): Likewise.
* doc/posix-functions/realpath.texi: Update platforms list.
Reported by Ryan Schmidt <ryandesign@macports.org>.
+2011-05-11 Bruno Haible <bruno@clisp.org>
+
+ canonicalize, canonicalize-lgpl: Avoid crash dialog on MacOS X.
+ * m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Add GL_NOCRASH code.
+ * modules/canonicalize (Depends-on): Add 'nocrash'.
+ * modules/canonicalize-lgpl (Depends-on): Likewise.
+ * doc/posix-functions/realpath.texi: Update platforms list.
+ Reported by Ryan Schmidt <ryandesign@macports.org>.
+
2011-05-11 Bruno Haible <bruno@clisp.org>
group-member: Declare function in <unistd.h>.
@item
This function does not allow for a NULL @samp{resolved} parameter on
some platforms:
-Solaris 10.
+MacOS X 10.5, FreeBSD 6.4, OpenBSD 4.4, Solaris 10.
@item
This function does not always return an absolute path on some
platforms:
-# canonicalize.m4 serial 17
+# canonicalize.m4 serial 18
dnl Copyright (C) 2003-2007, 2009-2011 Free Software Foundation, Inc.
touch conftest.a
AC_RUN_IFELSE([
AC_LANG_PROGRAM([[
+ ]GL_NOCRASH[
#include <stdlib.h>
]], [[
int result = 0;
hash-triple
lstat
memmove
+nocrash
pathmax
sys_stat
xalloc
Depends-on:
extensions
stdlib
+nocrash
alloca-opt [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
errno [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]
lstat [test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1]