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

Diff for /src/usr.bin/file/Attic/apprentice.c between version 1.6 and 1.7

version 1.6, 1998/08/19 17:20:01 version 1.7, 1998/08/21 04:25:02
Line 193 
Line 193 
                 if (check) {                  if (check) {
                         if (magic)                          if (magic)
                                 free(magic);                                  free(magic);
                         magic = mtmp;  
                         return -1;                          return -1;
                 } else                  } else
                         exit(1);                          exit(1);
             }              }
               magic = mtmp;
             memset(&magic[*ndx], 0, sizeof(struct magic) * ALLOC_INCR);              memset(&magic[*ndx], 0, sizeof(struct magic) * ALLOC_INCR);
         }          }
         m = &magic[*ndx];          m = &magic[*ndx];

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