看板 DFBSD_bugs 關於我們 聯絡資訊
--u5E4XgoOPWr4PD9E Content-Type: multipart/mixed; boundary="fOHHtNG4YXGJ0yqR" Content-Disposition: inline --fOHHtNG4YXGJ0yqR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 11, 2010 at 02:28:40PM +0000, vasily postnicov (via DragonFly i= ssue tracker) wrote: >=20 > vasily postnicov <shamaz.mazum@gmail.com> added the comment: >=20 > > Can you try replacing the first three members in glob_t from int > to size_t then rebuild sftp and see if that helps? >=20 > Thank you, it works! >=20 Instead of messing around with that, can you please try the attached patch? This should make it use the system's <glob.h>. --Peter --fOHHtNG4YXGJ0yqR Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ssh-glob.patch" Content-Transfer-Encoding: quoted-printable diff --git a/secure/lib/libssh/config.h b/secure/lib/libssh/config.h index 322afed..779f1cf 100644 --- a/secure/lib/libssh/config.h +++ b/secure/lib/libssh/config.h @@ -24,7 +24,7 @@ /* #undef BROKEN_GETGROUPS */ =20 /* FreeBSD glob does not do what we need */ -#define BROKEN_GLOB 1 +/* #undef BROKEN_GLOB */ =20 /* Define if you system's inet_ntoa is busted (e.g. Irix gcc issue) */ /* #undef BROKEN_INET_NTOA */ --fOHHtNG4YXGJ0yqR-- --u5E4XgoOPWr4PD9E Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (DragonFly) iEYEARECAAYFAkzeJHEACgkQKjaxugguz8Xw5gCeM1G/HFnT2YwnHUIOfVZsa/Cy c4sAoIVDgpStkNGMyFHJNeoGZNTeu+hB =dMVy -----END PGP SIGNATURE----- --u5E4XgoOPWr4PD9E--