Displaying 3 results from an estimated 3 matches for "glob_limit".
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>
2014 Jul 08
2
[Bug 2254] New: Better error message for globs that have too many results.
...Assignee: unassigned-bugs at mindrot.org
Reporter: orion at cora.nwra.com
Created attachment 2454
--> https://bugzilla.mindrot.org/attachment.cgi?id=2454&action=edit
Patch to detect GLOB_NOSPACE and return better error message
sftp uses remote_glob() with ls and get, which sets GLOB_LIMIT, so it
is possible that a "get a*" command could exhaust the default limit.
In this case you get the unhelpful error message:
sftp> get ssw*
File "/data/cora1/leka/AIA/ssw*" not found.
With the attached patch you get a better error message:
sftp> get ssw*
Too many matc...
2008 Sep 19
2
Bug in keywords conversion with courier-dovecot-migrate.pl v1.1.7
The problem is the file glob on line 344 in convert_subscriptions()
# read updates from the directory
my %updates;
foreach (<$keyword_dir/*>) {
This isn't going to pick up any files beginning with a dot, so most of
the update files in the courierimapkeywords directory are going to be
skipped.