Changeset 2480 in kBuild
- Timestamp:
- Jul 20, 2011 2:18:21 PM (14 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 2 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) { -
trunk/src/kmk/variable.c
r2452 r2480 1299 1299 && defined (KMK_HELPERS) 1300 1300 (void) define_variable ("KMK_FEATURES", 12, 1301 "append-dash-n abspath includedep-queue "1301 "append-dash-n abspath includedep-queue install-hard-linking" 1302 1302 " rsort" 1303 1303 " abspathex" … … 1327 1327 # else /* MSC can't deal with strings mixed with #if/#endif, thus the slow way. */ 1328 1328 # error "All features should be enabled by default!" 1329 strcpy (buf, "append-dash-n abspath includedep-queue ");1329 strcpy (buf, "append-dash-n abspath includedep-queue install-hard-linking"); 1330 1330 # if defined (CONFIG_WITH_RSORT) 1331 1331 strcat (buf, " rsort");
Note:
See TracChangeset
for help on using the changeset viewer.