Bugzilla – Attachment 1421 Details for
Bug 1407
A patch for forcing openbsd-compat implementation of glob(3) on Mac OS X
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add BROKEN_GLOB and define in configure for OS X
openssh-osx-glob.patch (text/plain), 1.84 KB, created by
Darren Tucker
on 2007-12-21 21:20:55 AEDT
(
hide
)
Description:
Add BROKEN_GLOB and define in configure for OS X
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2007-12-21 21:20:55 AEDT
Size:
1.84 KB
patch
obsolete
>Index: configure.ac >=================================================================== >RCS file: /cvs/openssh/configure.ac,v >retrieving revision 1.387 >diff -u -r1.387 configure.ac >--- configure.ac 2 Dec 2007 10:02:22 -0000 1.387 >+++ configure.ac 21 Dec 2007 10:15:14 -0000 >@@ -415,6 +415,7 @@ > AC_DEFINE(SETEUID_BREAKS_SETUID) > AC_DEFINE(BROKEN_SETREUID) > AC_DEFINE(BROKEN_SETREGID) >+ AC_DEFINE(BROKEN_GLOB, 1, [OS X glob does not do what we expect]) > AC_DEFINE_UNQUOTED(BIND_8_COMPAT, 1, > [Define if your resolver libs need this for getrrsetbyname]) > AC_DEFINE(SSH_TUN_FREEBSD, 1, [Open tunnel devices the FreeBSD way]) >Index: openbsd-compat/glob.c >=================================================================== >RCS file: /cvs/openssh/openbsd-compat/glob.c,v >retrieving revision 1.24 >diff -u -r1.24 glob.c >--- openbsd-compat/glob.c 26 Oct 2007 06:13:42 -0000 1.24 >+++ openbsd-compat/glob.c 21 Dec 2007 10:15:15 -0000 >@@ -48,7 +48,8 @@ > > #if !defined(HAVE_GLOB) || !defined(GLOB_HAS_ALTDIRFUNC) || \ > !defined(GLOB_HAS_GL_MATCHC) || \ >- !defined(HAVE_DECL_GLOB_NOMATCH) || HAVE_DECL_GLOB_NOMATCH == 0 >+ !defined(HAVE_DECL_GLOB_NOMATCH) || HAVE_DECL_GLOB_NOMATCH == 0 || \ >+ defined(BROKEN_GLOB) > > static long > get_arg_max(void) >Index: openbsd-compat/glob.h >=================================================================== >RCS file: /cvs/openssh/openbsd-compat/glob.h,v >retrieving revision 1.10 >diff -u -r1.10 glob.h >--- openbsd-compat/glob.h 26 Oct 2007 06:48:15 -0000 1.10 >+++ openbsd-compat/glob.h 21 Dec 2007 10:15:15 -0000 >@@ -39,7 +39,8 @@ > > #if !defined(HAVE_GLOB_H) || !defined(GLOB_HAS_ALTDIRFUNC) || \ > !defined(GLOB_HAS_GL_MATCHC) || \ >- !defined(HAVE_DECL_GLOB_NOMATCH) || HAVE_DECL_GLOB_NOMATCH == 0 >+ !defined(HAVE_DECL_GLOB_NOMATCH) || HAVE_DECL_GLOB_NOMATCH == 0 || \ >+ defined(BROKEN_GLOB) > > #ifndef _GLOB_H_ > #define _GLOB_H_
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dtucker
:
ok?
Actions:
View
|
Diff
Attachments on
bug 1407
:
1401
| 1421