delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/26/16:14:42

From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com
Date: Sun, 26 Aug 2001 15:54:06 -0400
MIME-Version: 1.0
Subject: Re: Bash 2.05 beta 23-Aug-2001 with Win 2K
Message-ID: <3B891B9E.24278.1FB271@localhost>
In-reply-to: <021701c12e20$36865910$0a02a8c0@acceleron>
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

> 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';
}


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019