On Thu, Nov 11, 2010 at 02:28:40PM +0000, vasily postnicov (via DragonFly issue tracker) wrote: > > vasily postnicov <[email protected]> added the comment: > > > Can you try replacing the first three members in glob_t from int > to size_t then rebuild sftp and see if that helps? > > Thank you, it works! >
Instead of messing around with that, can you please try the attached patch? This should make it use the system's <glob.h>. --Peter
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 */ /* FreeBSD glob does not do what we need */ -#define BROKEN_GLOB 1 +/* #undef BROKEN_GLOB */ /* Define if you system's inet_ntoa is busted (e.g. Irix gcc issue) */ /* #undef BROKEN_INET_NTOA */
pgpFq8qCar0qj.pgp
Description: PGP signature
