Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.91
 
1.92
 
MAIN:ragge:20080419131926
 
cc.c
_>875875 char *
 876876 copy(char *as, int extra)
 877877 {
<>878 -        return strcpy(ccmalloc(strlen(as)+extra+1), as);
  878+        int len = strlen(as)+1;
  879+        char *rv;
  880+
  881+        rv = ccmalloc(len+extra);
  882+        strlcpy(rv, as, len);
  883+        return rv;
<_879884 }
 880885 
 881886 int
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-03 01:50 +0200