Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.157
 
1.158
 
MAIN:plunky:20120928125339
 
cpp.c
_>390390                 goto bad;
 391391 
 392392         p = (usch *)yytext;
<>393 -        if (*p == 'L')
  393+        if (*p++ == 'L')
394394                 p++;
 395395         c = strlen((char *)p);
<> 396+        p[c - 1] = '\0';
396397         if (llen < c) {
 397398                 /* XXX may lose heap space */
 398399                 lbuf = stringbuf;
 399400                 stringbuf += c;
 400401                 llen = c;
<> 402+                if (stringbuf >= &sbf[SBSIZE]) {
  403+                        stringbuf = sbf; /* need space to write error message */
  404+                        error("line filename exceeds buffer size");
  405+                }
401406         }
<>402 -        p[strlen((char *)p)-1] = 0;
 403 -        if (strlcpy((char *)lbuf, (char *)&p[1], SBSIZE) >= SBSIZE)
 404 -                error("line exceeded buffer size");
 405 -
  407+        memcpy(lbuf, p, c);
<_406408         ifiles->fname = lbuf;
 407409         if (yylex() == '\n')
 408410                 return;
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-07-11 08:52 +0200