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

Diff for /src/usr.bin/size/Attic/size.c between version 1.3 and 1.4

version 1.3, 1996/06/26 05:39:18 version 1.4, 1996/09/03 11:16:47
Line 232 
Line 232 
                                 warnx("%s: bad format", name);                                  warnx("%s: bad format", name);
                                 rval = 1;                                  rval = 1;
                         }                          }
                   } else if (N_GETMID(exec_head) != MID_MACHINE) {
                           if (!ignore_bad_archive_entries) {
                                   warnx("%s: wrong architecture", name);
                                   rval = 1;
                           }
                 } else {                  } else {
                         (void)fseek(fp, (long)-sizeof(exec_head),                          (void)fseek(fp, (long)-sizeof(exec_head),
                             SEEK_CUR);                              SEEK_CUR);
Line 271 
Line 276 
   
         if (N_BADMAG(head)) {          if (N_BADMAG(head)) {
                 warnx("%s: bad format", name);                  warnx("%s: bad format", name);
                   return(1);
           }
   
           if (N_GETMID(head) != MID_MACHINE) {
                   warnx("%s: wrong architecture", name);
                 return(1);                  return(1);
         }          }
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4