Hello, > On Jan 23, 2016, at 23:42, Jim Meyering <j...@meyering.net> wrote: > > grep snapshot: > http://meyering.net/grep/grep-2.22.30-e07b.tar.xz
One regression for 2.22.30 vs 2.22.29 on OpenSolaris 5.10, both x86pc and sun4v, possibly related to this machine having an older shell: $ ./configure ... ... checking whether btowc(EOF) is correct... yes checking whether this system has an arbitrary file name length limit... yes checking for closedir... yes ./configure: bad substitution Running diff on 'configure' between versions 2.22.29 and 2.22.30, this might be the culprit: === @@ -19138,6 +19140,11 @@ done fi fi + if test -z "${host_os##os2*}"; then + if test $HAVE_OPENDIR = 1; then + REPLACE_OPENDIR=1 + fi + fi if test $HAVE_CLOSEDIR = 0 || test $REPLACE_CLOSEDIR = 1; then === Trying to isolate it, gives (on that OpenSolaris 5.10 i86pc machine): === $ cat 1.sh #!/bin/sh test -z "${host_os##os2*}" $ ./1.sh ./1.sh: bad substitution === Just a guess, but perhaps the recent OS/2 patches to gnulib are the source (since 29 vs 30's difference is updated gnulib). ===== No failures on: Mac OS X 10.10.4 Open Solaris 5.11 both i86pc and sun4v/u FreeBSD 10.1, 9.3 (amd64) OpenBSD 5.8, 5.7 (amd64) NetBD 7.0 (amd64) Various GNU/Linuxes on x86-66 (Debian 7/8, CentOS 7,6.5, Ubuntu 14.04,15.04, Fedora 23,22,21, OpenSUSE 42.1) regards, - assaf