sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 8686] Error when running `gaze search <spell>`
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 8686] Error when running `gaze search <spell>`
- Date: Thu, 9 Jun 2005 15:15:56 -0700 (PDT)
http://bugs.sourcemage.org/show_bug.cgi?id=8686
------- Additional Comments From acedit AT armory.com 2005-06-09 15:15 -------
I read through the xargs/findutils source code and it appears it is determined
on each invocation of xargs.
It first finds the true value with sysconf(_SC_ARG_MAX) (which is 131072), if
that is not available, it uses LONG_MAX, which is 2147483647 (look in
bc_get_arg_max from lib/buildcmd.c). It takes that number and subtracts the
the
amount of the environment currently used.
So there's several possibilities. One is that sysconf(_SC_ARG_MAX) isnt
available for some reason or is, but is incorrect. Another is a math error
somewhere in xargs.
Run the following C code:
#include <unistd.h>
#define LONG_MAX (~(1 << (sizeof (long) * 8 - 1)))
int main(void) {
printf("%d\n",sysconf(_SC_ARG_MAX));
printf("%d\n",LONG_MAX);
}
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
-
[SM-Sorcery-Bugs] [Bug 8686] Error when running `gaze search <spell>`,
bugzilla-daemon, 06/07/2005
- <Possible follow-up(s)>
- [SM-Sorcery-Bugs] [Bug 8686] Error when running `gaze search <spell>`, bugzilla-daemon, 06/08/2005
- [SM-Sorcery-Bugs] [Bug 8686] Error when running `gaze search <spell>`, bugzilla-daemon, 06/08/2005
- [SM-Sorcery-Bugs] [Bug 8686] Error when running `gaze search <spell>`, bugzilla-daemon, 06/09/2005
- [SM-Sorcery-Bugs] [Bug 8686] Error when running `gaze search <spell>`, bugzilla-daemon, 06/09/2005
- [SM-Sorcery-Bugs] [Bug 8686] Error when running `gaze search <spell>`, bugzilla-daemon, 06/18/2005
- [SM-Sorcery-Bugs] [Bug 8686] Error when running `gaze search <spell>`, bugzilla-daemon, 06/20/2005
- [SM-Sorcery-Bugs] [Bug 8686] Error when running `gaze search <spell>`, bugzilla-daemon, 06/21/2005
- [SM-Sorcery-Bugs] [Bug 8686] Error when running `gaze search <spell>`, bugzilla-daemon, 06/29/2005
- [SM-Sorcery-Bugs] [Bug 8686] Error when running `gaze search <spell>`, bugzilla-daemon, 06/29/2005
Archive powered by MHonArc 2.6.24.