Changeset 2741 in kBuild
- Timestamp:
- Dec 26, 2014 4:36:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/file.c
r2740 r2741 374 374 to_file->multi_head = f = from_file->multi_head; 375 375 if (f == from_file) 376 for (; f != 0; f = f->multi_next) 377 f->multi_head = to_file; 376 { 377 for (; f != 0; f = f->multi_next) 378 f->multi_head = to_file; 379 to_file->multi_head = to_file; 380 } 378 381 else 379 382 { … … 383 386 f->multi_next = to_file; 384 387 } 388 # ifdef NDEBUG 385 389 from_file->multi_head = to_file->multi_head; 386 390 from_file->multi_next = NULL; 391 # else 392 from_file->multi_head = (struct file *)0x2; /* poison */ 393 from_file->multi_next = (struct file *)0x8; 394 # endif 387 395 } 388 396 #endif
Note:
See TracChangeset
for help on using the changeset viewer.