bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] parsing paths with spaces in them, resolved


From: Joern Thyssen
Subject: Re: [Bug-gnubg] parsing paths with spaces in them, resolved
Date: Fri, 23 May 2003 07:53:43 +0000
User-agent: Mutt/1.4.1i

On Fri, May 23, 2003 at 01:44:48AM +0200, Henrik Ravn wrote
>  
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi there!
> 
> Ok, I looked into the problem in <subject/> and it turns out that 
> NextTokenGeneral in gnubg.c is broken.
> 
> starting on line 1841-ish there is a check for end-of-token chars:
> 
>       if ( **ppch && strchr( szTokens, **ppch ) ) {
>         /* this character ends token */
>         if( !chQuote ) {
>           fEnd = TRUE;
>           (*ppch)++; /* step over token */
>         }
>         else
>           *pchSave++ = **ppch;
>         break; /* <---- this should not be here */
>       }
>       else {
> 
> The line containing the break should be removed

Thx.

I've no time to commit this fix until Monday -- can anyone else commit
it, please?

Jørn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]