Changeset 2500 for trunk/src/kmk
- Timestamp:
- Jul 22, 2011, 4:25:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kmkbuiltin/install.c
r2499 r2500 438 438 if (hard_link_files_when_possible) 439 439 { 440 #ifdef KBUILD_OS_OS2 441 const char *why_not = "not supported on OS/2"; 442 #else 440 443 const char *why_not = NULL; 441 444 if (devnull) { … … 449 452 } else if (safecopy) { 450 453 why_not = "safe copy (-S)"; 451 # if defined(KBUILD_OS_WINDOWS) || defined(KBUILD_OS_OS2)454 # if defined(KBUILD_OS_WINDOWS) || defined(KBUILD_OS_OS2) 452 455 } else if ((mode & S_IWUSR) != (from_sb.st_mode & S_IWUSR)) { 453 # else456 # else 454 457 } else if (mode != (from_sb.st_mode & ALLPERMS)) { 455 # endif458 # endif 456 459 printf("install: warning: Not hard linking, mode differs: 0%03o, desires 0%03o\n" 457 460 "install: src path '%s'\n" … … 479 482 why_not = NULL; 480 483 } 484 #endif 481 485 if (verbose && why_not) 482 486 printf("install: not hard linking '%s' to '%s' because: %s\n",
Note:
See TracChangeset
for help on using the changeset viewer.