bug-gnubg
[Top][All Lists]
Advanced

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

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


From: Henrik Ravn
Subject: [Bug-gnubg] parsing paths with spaces in them, resolved
Date: Fri, 23 May 2003 01:44:48 +0200

 
-----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

be well
- -h-




-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQA/AwUBPs1g8K0NW/dr/OP5EQJYbwCeKeQzWwz4m/ektCOvRKWwWfRRryAAoOuY
IVZtsZq5ixFwixfk6zLqDI6I
=BnGL
-----END PGP SIGNATURE-----





reply via email to

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