Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.30
 
1.31
 
MAIN:pj:20041220134929
 
cc.c
_>7979 char    *tmp3;
 8080 char    *tmp4;
 8181 char    *outfile;
<>82 -char *copy(char *as),*setsuf(char [], int);
  82+char *copy(char *as),*setsuf(char *as, char ch);
8383 int getsuf(char []);
 8484 int main(int, char *[]);
 8585 void error(char *, char *);
     
 !
503503 }
 504504 
 505505 char *
<>506 -setsuf(as, ch)
 507 -char as[];
  506+setsuf(char *as, char ch)
508507 {
<>509 -        register char *s, *s1;
  508+        char *s, *s1;
510509 
<>511 -        s = s1 = copy(as);
  510+        s = s1 = as;
512511         while(*s)
 513512                 if (*s++ == '/')
 514513                         s1 = s;
<>515 -        s[-1] = ch;
  514+
  515+        s = copy(s1);
  516+        s[strlen(s) - 1] = ch;
<_516517         return(s1);
 517518 }
 518519 
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 16:29 +0200