[BACK]Return to backupfile.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / patch

Diff for /src/usr.bin/patch/backupfile.c between version 1.6 and 1.7

version 1.6, 1999/01/03 05:33:48 version 1.7, 1999/12/04 21:00:03
Line 195 
Line 195 
      char *str1, *str2;       char *str1, *str2;
 {  {
   char *newstr;    char *newstr;
   char str1_length = strlen (str1);    int str1_length = strlen (str1);
   
   newstr = malloc (str1_length + strlen (str2) + 1);    newstr = malloc (str1_length + strlen (str2) + 1);
   if (newstr == 0)    if (newstr == 0)

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7