Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.371
 
1.372
 
MAIN:plunky:20140529192002
 
cgram.y
_>17471747 static char *
 17481748 mkpstr(char *str)
 17491749 {
<>1750 -        char *s, *os;
 1751 -        int l = strlen(str)+3; /* \t + \n + \0 */
  1750+        char *s;
  1751+        int l = strlen(str) + 3; /* \t + \n + \0 */
17521752 
<>1753 -        os = s = inlalloc(l);
 1754 -        for (*s++ = '\t'; *str; *s++ = esc2char(&str));
 1755 -        *s++ = '\n';
 1756 -        *s = 0;
 1757 -        return os;
  1753+        s = inlalloc(l);
  1754+        snprintf(s, l, "\t%s\n", str);
  1755+        return s;
<_17581756 }
 17591757 
 17601758 /*
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-10-02 18:32 +0200