1 Sep 2006 05:31
Re: Testing for the 4.4p1 release
Darren Tucker <dtucker <at> zip.com.au>
2006-09-01 03:31:35 GMT
2006-09-01 03:31:35 GMT
On Wed, Aug 30, 2006 at 06:35:21PM +0200, Corinna Vinschen wrote: > Cygwin 1.5.21, OpenSSL 0.9.8b Thanks for testing. [...] > Actually, OpenSSH didn't use Cygwin's glob() implementation before > (which is a relatively old NetBSD derived implementation), because the > configure test for gl_matchc failed up to 4.3p2. The AC_EGREP_CPP > autoconf test failed, while the new AC_TRY_COMPILE test in 4.4p1 now > works, so starting with 4.4p1, OpenSSH uses Cygwin's glob function. > > But why does it core dump? The reason is that the old glob implementation > in Cygwin doesn't know about the GLOB_NOMATCH return code. In case there's > no match, it returns 0, with gl_matchc set to 0 and gl_pathv set to NULL. I'm wondering if we should test for GLOB_NOMATCH in configure and use the glob in openbsd-compat if it's not found. This would avoid having to carry additional diffs in -portable. Index: configure.ac =================================================================== RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/configure.ac,v retrieving revision 1.356 diff -u -p -r1.356 configure.ac --- configure.ac 30 Aug 2006 17:24:41 -0000 1.356 +++ configure.ac 1 Sep 2006 00:59:14 -0000 <at> <at> -982,6 +982,8 <at> <at> AC_TRY_COMPILE( ] )(Continue reading)
RSS Feed