Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.82
 
1.83
 
MAIN:plunky:20121017102910
 
token.c
_>852852 void
 853853 prtline(void)
 854854 {
<>855 -        usch *s, *os = stringbuf;
  855+        usch *sb = stringbuf;
856856 
 857857         if (Mflag) {
 858858                 if (dMflag)
 859859                         return; /* no output */
 860860                 if (ifiles->lineno == 1) {
<>861 -                        s = sheap("%s: %s\n", Mfile, ifiles->fname);
 862 -                        xwrite(ofd, s, strlen((char *)s));
  861+                        sheap("%s: %s\n", Mfile, ifiles->fname);
863862                         if (MPflag &&
<>864 -                            strcmp((const char *)ifiles->fname, (char *)MPfile)) {
 865 -                                s = sheap("%s:\n", ifiles->fname);
 866 -                                xwrite(ofd, s, strlen((char *)s));
 867 -                        }
  863+                            strcmp((const char *)ifiles->fname, (char *)MPfile))
  864+                                sheap("%s:\n", ifiles->fname);
  865+                        xwrite(ofd, sb, stringbuf - sb);
868866                 }
 869867         } else if (!Pflag) {
<>870 -                putstr(sheap("\n# %d \"%s\"", ifiles->lineno, ifiles->fname));
  868+                sheap("\n# %d \"%s\"", ifiles->lineno, ifiles->fname);
871869                 if (ifiles->idx == SYSINC)
<>872 -                        putstr(sheap(" 3"));
 873 -                putstr(sheap("\n"));
  870+                        sheap(" 3");
  871+                sheap("\n");
  872+                putstr(sb);
874873         }
<>875 -        stringbuf = os;
  874+        stringbuf = sb;
<_876875 }
 877876 
 878877 void
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-08-27 23:02 +0200