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

Diff for /src/usr.bin/strip/Attic/strip.c between version 1.2 and 1.3

version 1.2, 1996/06/26 05:39:32 version 1.3, 1996/09/03 06:54:43
Line 113 
Line 113 
                         (void)close(fd);                          (void)close(fd);
                         ERROR(errno);                          ERROR(errno);
                 }                  }
                 if (N_BADMAG(*ep)) {                  if (N_BADMAG(*ep) || N_GETMID(*ep) != MID_MACHINE) {
                         munmap((caddr_t)ep, sb.st_size);                          munmap((caddr_t)ep, sb.st_size);
                         (void)close(fd);                          (void)close(fd);
                         ERROR(EFTYPE);                          ERROR(EFTYPE);

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