[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.60 and 1.61

version 1.60, 2015/07/18 14:32:36 version 1.61, 2015/07/18 15:42:37
Line 352 
Line 352 
             fchown(to_fd, uid, gid)) {              fchown(to_fd, uid, gid)) {
                 serrno = errno;                  serrno = errno;
                 (void)unlink(safecopy ? tempfile : to_name);                  (void)unlink(safecopy ? tempfile : to_name);
                 errx(EX_OSERR, "%s: chown/chgrp: %s",                  errx(EX_OSERR, "%s: chown/chgrp: %s",
                     safecopy ? tempfile : to_name, strerror(serrno));                      safecopy ? tempfile : to_name, strerror(serrno));
         }          }
         if (fchmod(to_fd, mode)) {          if (fchmod(to_fd, mode)) {
Line 369 
Line 369 
         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)) {
                 if (errno != EOPNOTSUPP || (from_sb.st_flags & ~UF_NODUMP) != 0)                  if (errno != EOPNOTSUPP || (from_sb.st_flags & ~UF_NODUMP) != 0)
                         warnx("%s: chflags: %s",                          warnx("%s: chflags: %s",
                             safecopy ? tempfile :to_name, strerror(errno));                              safecopy ? tempfile :to_name, strerror(errno));
         }          }
   

Legend:
Removed from v.1.60  
changed lines
  Added in v.1.61