Changeset 1718 in kBuild
- Timestamp:
- Sep 3, 2008 1:33:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kmkbuiltin/ln.c
r1328 r1718 194 194 (lstat(source, &sb) == 0 && S_ISDIR(sb.st_mode)) || 195 195 (!hflag && stat(source, &sb) == 0 && S_ISDIR(sb.st_mode))) { 196 #ifdef _MSC_VER || defined(__OS2__) 197 char *p2 = strrchr(target, '\\'); 198 p = strrchr(target, '/'); 199 if (p2 != NULL && (p == NULL || p2 > p)) 200 p = p2; 201 if (p == NULL) 202 #else 196 203 if ((p = strrchr(target, '/')) == NULL) 204 #endif 197 205 p = target; 198 206 else
Note:
See TracChangeset
for help on using the changeset viewer.