- (dtucker) [configure.ac includes.h openbsd-compat/glob.{c,h}] Explicitly
test for GLOB_NOMATCH and use our glob functions if it's not found. Stops sftp from segfaulting when attempting to get a nonexistent file on Cygwin (previous versions of OpenSSH didn't use the native glob). Partly from and tested by Corinna Vinschen.
This commit is contained in:
parent
0646ca6be8
commit
096faecdea
|
@ -19,6 +19,11 @@
|
|||
sys/socket.h and unistd.h in various places
|
||||
- (dtucker) [openbsd-compat/bsd-cygwin_util.c] Fix implict declaration
|
||||
warnings for binary_open and binary_close. Patch from Corinna Vinschen.
|
||||
- (dtucker) [configure.ac includes.h openbsd-compat/glob.{c,h}] Explicitly
|
||||
test for GLOB_NOMATCH and use our glob functions if it's not found.
|
||||
Stops sftp from segfaulting when attempting to get a nonexistent file on
|
||||
Cygwin (previous versions of OpenSSH didn't use the native glob). Partly
|
||||
from and tested by Corinna Vinschen.
|
||||
|
||||
20060831
|
||||
- (djm) [CREDITS LICENCE Makefile.in auth.c configure.ac includes.h ]
|
||||
|
@ -5370,4 +5375,4 @@
|
|||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||
|
||||
$Id: ChangeLog,v 1.4523 2006/09/01 09:29:01 dtucker Exp $
|
||||
$Id: ChangeLog,v 1.4524 2006/09/01 10:29:10 dtucker Exp $
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: configure.ac,v 1.356 2006/08/30 17:24:41 djm Exp $
|
||||
# $Id: configure.ac,v 1.357 2006/09/01 10:29:11 dtucker Exp $
|
||||
#
|
||||
# Copyright (c) 1999-2004 Damien Miller
|
||||
#
|
||||
|
@ -15,7 +15,7 @@
|
|||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
|
||||
AC_REVISION($Revision: 1.356 $)
|
||||
AC_REVISION($Revision: 1.357 $)
|
||||
AC_CONFIG_SRCDIR([ssh.c])
|
||||
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
@ -982,6 +982,8 @@ AC_TRY_COMPILE(
|
|||
]
|
||||
)
|
||||
|
||||
AC_CHECK_DECLS(GLOB_NOMATCH, , , [#include <glob.h>])
|
||||
|
||||
AC_MSG_CHECKING([whether struct dirent allocates space for d_name])
|
||||
AC_RUN_IFELSE(
|
||||
[AC_LANG_SOURCE([[
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
# include <bstring.h>
|
||||
#endif
|
||||
#if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC) && \
|
||||
defined(GLOB_HAS_GL_MATCHC)
|
||||
defined(GLOB_HAS_GL_MATCHC) && \
|
||||
defined(HAVE_DECL_GLOB_NOMATCH) && HAVE_DECL_GLOB_NOMATCH != 0
|
||||
# include <glob.h>
|
||||
#endif
|
||||
#ifdef HAVE_ENDIAN_H
|
||||
|
|
|
@ -47,7 +47,8 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#if !defined(HAVE_GLOB) || !defined(GLOB_HAS_ALTDIRFUNC) || \
|
||||
!defined(GLOB_HAS_GL_MATCHC)
|
||||
!defined(GLOB_HAS_GL_MATCHC) || \
|
||||
!defined(HAVE_DECL_GLOB_NOMATCH) || HAVE_DECL_GLOB_NOMATCH == 0
|
||||
|
||||
static long
|
||||
get_arg_max(void)
|
||||
|
|
|
@ -38,7 +38,8 @@
|
|||
/* OPENBSD ORIGINAL: include/glob.h */
|
||||
|
||||
#if !defined(HAVE_GLOB_H) || !defined(GLOB_HAS_ALTDIRFUNC) || \
|
||||
!defined(GLOB_HAS_GL_MATCHC)
|
||||
!defined(GLOB_HAS_GL_MATCHC) || \
|
||||
!defined(HAVE_DECL_GLOB_NOMATCH) || HAVE_DECL_GLOB_NOMATCH == 0
|
||||
|
||||
#ifndef _GLOB_H_
|
||||
#define _GLOB_H_
|
||||
|
|
Loading…
Reference in New Issue