| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | new-smtp2.ihug.com.au: Host p27-max1.syd.ihug.com.au [203.173.158.219] claimed to be acceleron |
| Message-ID: | <006b01c12ee5$5c742ab0$0a02a8c0@acceleron> |
| From: | "Andrew Cottrell" <acottrel AT ihug DOT com DOT au> |
| To: | "Mark E." <snowball3 AT bigfoot DOT com> |
| Cc: | <djgpp-workers AT delorie DOT com>, "Charles Sandmann" <sandmann AT clio DOT rice DOT edu> |
| References: | <3B891B9E DOT 24278 DOT 1FB271 AT localhost> |
| Subject: | Re: Bash 2.05 beta 23-Aug-2001 with Win 2K |
| Date: | Mon, 27 Aug 2001 20:45:15 +1000 |
| MIME-Version: | 1.0 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook Express 5.50.4807.1700 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4807.1700 |
| Reply-To: | djgpp-workers AT delorie DOT com |
> > Just got a few minutes to rebuild Bash from the updated sources and this
is
> > what I found:
>
> Thanks. Try replacing the current version of array_putc with this one:
>
> static void
> array_putc(struct dynamic_array *array, const char ch)
> {
> if (array->ptr >= array->end)
> array_resize(array);
> *(array->ptr) = ch;
> ++(array->ptr);
> *(array->ptr) = '\0';
> }
Thanks for this try. Bash now works with an array_size of 64, which
perviously crashed without the change and Bash now does not crash. Tomorrow
night I can start to look at the configuration issue.
Thanks for this. One less problem to worry about.
Andrew
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |