Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.61
 
1.62
 
MAIN:ragge:20070920141239
 
cpp.c
_>448448         struct incs *w;
 449449         struct symtab *nl;
 450450         usch *osp;
<>451 -        usch *fn;
  451+        usch *fn, *safefn;
452452         int i, c, it;
 453453 
 454454         if (flslvl)
     
 !
482482                 if (c != '\n')
 483483                         goto bad;
 484484                 it = SYSINC;
<> 485+                safefn = fn;
485486         } else {
 486487                 usch *nm = stringbuf;
 487488 
     
 !
497498                         else
 498499                                 stringbuf++;
 499500                 }
<> 501+                safefn = stringbuf;
500502                 savstr(fn); savch(0);
 501503                 while ((c = yylex()) == WSPACE)
 502504                         ;
     
 !
505507                 slow = 0;
 506508                 if (pushfile(nm) == 0)
 507509                         return;
<>508 -                stringbuf = nm;
  510+                /* XXX may loose stringbuf space */
509511         }
 510512 
 511513         /* create search path and try to open file */
     
 !
515517                         usch *nm = stringbuf;
 516518 
 517519                         savstr(w->dir); savch('/');
<>518 -                        savstr(fn); savch(0);
  520+                        savstr(safefn); savch(0);
519521                         if (pushfile(nm) == 0)
 520522                                 return;
 521523                         stringbuf = nm;
 522524                 }
 523525         }
<>524 -        error("cannot find '%s'", fn);
  526+        error("cannot find '%s'", safefn);
<_525527         /* error() do not return */
 526528 
 527529 bad:    error("bad include");
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-09-20 20:02 +0200