Changeset 2480 for trunk/src/kmk/kmkbuiltin/install.c
- Timestamp:
- Jul 20, 2011, 4:18:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kmkbuiltin/install.c
r2476 r2480 346 346 to_sb.st_dev != 0 && 347 347 to_sb.st_ino == from_sb.st_ino && 348 to_sb.st_ino != 0) 348 to_sb.st_ino != 0 && 349 !hard_link_files_when_possible) 349 350 return errx(EX_USAGE, 350 351 "%s and %s are the same file", *argv, to_name); … … 448 449 } else if (safecopy) { 449 450 why_not = "safe copy (-S)"; 450 } else if (mode_given && mode != (from_sb.st_mode & ALLPERMS)) { 451 } else if (mode != (from_sb.st_mode & ALLPERMS)) { 452 printf("mode=%04o st_mode=%04o (%s)\n", mode, (from_sb.st_mode & ALLPERMS), from_name); 451 453 why_not = "mode mismatch"; 452 454 } else if (uid != (uid_t)-1 && gid != from_sb.st_uid) {
Note:
See TracChangeset
for help on using the changeset viewer.