delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-workers-bounces using -f |
From: | "Mark E." <snowball3 AT softhome DOT net> |
To: | djgpp-workers AT delorie DOT com |
Date: | Mon, 24 Dec 2001 11:23:34 -0500 |
MIME-Version: | 1.0 |
Subject: | Re: v2.03 refresh issue - passing 3K argument list [was Re: A new bug?] |
Message-ID: | <3C271036.22335.745E7@localhost> |
In-reply-to: | <10112241539.AA27356@clio.rice.edu> |
References: | <3C26F9C5 DOT 15660 DOT 131637 AT localhost> from "Mark E." at Dec 24, 2001 09:47:49 AM |
X-mailer: | Pegasus Mail for Win32 (v3.12c) |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> So even fixing glob in a refresh would not make this work with bash 2.04? > If so, maybe it's not worth trying to do this in a refresh... Just #ifdef out the workaround in bash 2.04's dosexec.c: *** dosexec.c.orig Sat Jun 23 23:53:08 2001 --- dosexec.c Mon Dec 24 11:23:08 2001 *************** static int go32_exec(const char *program *** 655,660 **** --- 655,661 ---- int sl = strlen(pargv) + 1; unsigned long q; + #if 0 /* Workaround for bug in globbing. glob() allocates a fixed buffer of 2000 bytes for its path buffer. If an argument greater than 2000 bytes is passed to a DJGPP program, that program may crash *************** static int go32_exec(const char *program *** 664,669 **** --- 665,671 ---- argv[0] = save_argv0; return -1; } + #endif if (check_talloc(sl)) {
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |