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

Diff for /src/usr.bin/xinstall/xinstall.c between version 1.11 and 1.12

version 1.11, 1997/01/17 07:13:54 version 1.12, 1997/03/07 01:57:08
Line 383 
Line 383 
          */           */
         if (fchflags(to_fd,          if (fchflags(to_fd,
             flags & SETFLAGS ? fset : from_sb.st_flags & ~UF_NODUMP)) {              flags & SETFLAGS ? fset : from_sb.st_flags & ~UF_NODUMP)) {
                 serrno = errno;                  if (errno != EOPNOTSUPP || (from_sb.st_flags & ~UF_NODUMP) != 0)
                 (void)unlink(to_name);                          warnx("%s: chflags: %s", to_name, strerror(errno));
                 errx(EX_OSERR, "%s: chflags: %s", to_name, strerror(serrno));  
         }          }
   
         (void)close(to_fd);          (void)close(to_fd);

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12