+2022-04-28 Paul Eggert <eggert@cs.ucla.edu>
+
+ glob: improve config and test cleanup
+ Config problem reported by Benno Schulenberg in:
+ https://lists.gnu.org/r/bug-gnulib/2022-04/msg00071.html
+ * m4/glob.m4 (gl_GLOB): Clean up temporary file.
+ Also, name it conf$$-file not conf-file, so it’s cleaned
+ up on interrupt.
+ * modules/glob-tests (MOSTLYCLEANFILES):
+ Append test-glob.tglobfile, test-glob.tgloblink[123].
+
2022-04-26 Paul Eggert <eggert@cs.ucla.edu>
glob: port to NetBSD 9.2
-# glob.m4 serial 25
+# glob.m4 serial 26
dnl Copyright (C) 2005-2007, 2009-2022 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_CACHE_CHECK([whether glob NOTDIR*/ omits symlink to nondir],
[gl_cv_glob_omit_nondir_symlinks],
[if test $cross_compiling != yes; then
- if ln -s conf-file conf$$-globtest 2>/dev/null && touch conf-file
+ if ln -s conf$$-file conf$$-globtest 2>/dev/null && touch conf$$-file
then
gl_cv_glob_omit_nondir_symlinks=maybe
else
:
])
fi
- rm -f conf$$-globtest
+ rm -f conf$$-file conf$$-globtest
else
gl_cv_glob_omit_nondir_symlinks="$gl_cross_guess_normal"
fi