search for: glob_has_gl_matchc

Displaying 5 results from an estimated 5 matches for "glob_has_gl_matchc".

2001 Mar 20
1
[2.5.2p1] openbsd-compat/glob.c: ARG_MAX not defined, alternative
Hi. On sparc-sun-sunos4.1.4 (i.e., -DSUNOS4), ARG_MAX is not defined anywhere, although <sys/limits.h> has the following line: #define _POSIX_ARG_MAX 4096 This is more a minimum imposed by POSIX than anything else. The proper solution revolves around this: ======================================================================== bash$ cat > x.c #include <unistd.h>
2009 Aug 20
2
[Bug 1634] New: [PATCH] openbsd-compat/glob.h conflicts with system glob.h
...directory listing is requested. The trivial patch below fixes the problem. --- includes.h~ 2009-08-19 23:32:26.000000000 -0400 +++ includes.h 2009-08-19 23:32:53.000000000 -0400 @@ -31,7 +31,8 @@ #endif #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) # include <glob.h> #endif #ifdef HAVE_ENDIAN_H -- Configure bugmail: https://bugz...
2001 Mar 28
0
sftp client globbing problems on Solaris, Irix, etc
...========================= RCS file: /var/cvs/openssh/acconfig.h,v retrieving revision 1.108 diff -u -r1.108 acconfig.h --- acconfig.h 2001/03/17 01:15:38 1.108 +++ acconfig.h 2001/03/28 03:28:37 @@ -308,6 +308,9 @@ /* Define if your system glob() function has gl_matchc options in glob_t */ #undef GLOB_HAS_GL_MATCHC +/* Define in your struct dirent expects you to allocate extra space for d_name */ +#undef BROKEN_ONE_BYTE_DIRENT_D_NAME + @BOTTOM@ /* ******************* Shouldn't need to edit below this line ************** */ Index: configure.in ===========================================================...
2015 Sep 11
11
[Bug 2463] New: Conflict with openbsd compat glob() function in shared libraries
...suboptimal ... This didn't appear before, since glob was not used in this binary and the compat glob() function was optimized out I believe. This explained the problem, but searching for solution was also painful. If I am right, openBSD is the only platform with glob with all these features (GLOB_HAS_GL_MATCHC, GLOB_HAS_GL_STATV are missing on Linux if I am right): * Considering writing ifdefs around every usage of these special features would be possibility, but the result would miss some features (statvfs at openssh.com, fstatvfs at openssh.com?) and code would be much more messy * Modification of gl...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
..."/var/run" /* #undef BROKEN_GETADDRINFO */ /* #undef BROKEN_UPDWTMPX */ #define DONT_TRY_OTHER_AF 1 #define IPV4_IN_IPV6 1 /* #undef BSD_AUTH */ /* #undef NO_X11_UNIX_SOCKETS */ /* #undef NO_IPPORT_RESERVED_CONCEPT */ /* #undef BROKEN_SAVED_UIDS */ #define GLOB_HAS_ALTDIRFUNC 1 /* #undef GLOB_HAS_GL_MATCHC */ /* #undef BROKEN_ONE_BYTE_DIRENT_D_NAME */ /* #undef HAVE_ETC_DEFAULT_LOGIN */ /* #undef HAVE_GETOPT_OPTRESET */ /* #undef MISSING_NFDBITS */ /* #undef MISSING_HOWMANY */ /* #undef MISSING_FD_MASK */ /* #undef SMARTCARD */ /* #undef USE_SECTOK */ /* #undef USE_OPENSC */ #define OPENSSL_PRNG_ONLY...