Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020219173051.53814.qmail@web21203.mail.yahoo.com> Date: Tue, 19 Feb 2002 09:30:51 -0800 (PST) From: AJ Reins Subject: Re: Proposed patch for bash (completion spec problem related) To: cygwin AT cygwin DOT com In-Reply-To: <020219140501.AA76103.SM@nike.ins.cwru.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Chet Ramey wrote: > > Possible patch for bash to fix the problem noticed by Jason Tishler in msg: > > http://sources.redhat.com/ml/cygwin/2002-02/msg00581.html > > > > > > --- subst.c.old Mon Nov 5 07:19:50 2001 > > +++ subst.c Mon Feb 18 16:58:50 2002 > > @@ -1339,7 +1339,7 @@ > > break; > > > > i = te /* + member (string[te], d) */; > > - while (member (string[i], d) && whitespace(string[i])) > > + while (member (string[i], d)/* && whitespace(string[i])*/) > > i++; > > The right fix is to replace the call to whitespace() with one to spctabnl(). > There's another fix needed for skip_to_delim(), but my current sources look > sufficiently different from bash-2.05a (multibyte character support) that > I'm not going to release a patch. > Ok, let's try that again. --- subst.c.old Mon Nov 5 07:19:50 2001 +++ subst.c Tue Feb 19 11:16:17 2002 @@ -1339,7 +1339,7 @@ break; i = te /* + member (string[te], d) */; - while (member (string[i], d) && whitespace(string[i])) + while (member (string[i], d) && spctabnl(string[i])) i++; if (string[i]) __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/