comparison lwlink/readfiles.c @ 248:e8d70b95ec41 2.x

Fixed various problems with determining which files to include in the output and also fixed problem identifying which files actually resolved symbols
author lost
date Sun, 22 Nov 2009 05:46:31 +0000
parents f9f01a499525
children
comparison
equal deleted inserted replaced
247:d8b5ff5c4ef9 248:e8d70b95ec41
427 memset(fn -> subs[fn -> nsubs], 0, sizeof(fileinfo_t)); 427 memset(fn -> subs[fn -> nsubs], 0, sizeof(fileinfo_t));
428 fn -> subs[fn -> nsubs] -> filedata = fn -> filedata + cc; 428 fn -> subs[fn -> nsubs] -> filedata = fn -> filedata + cc;
429 fn -> subs[fn -> nsubs] -> filesize = flen; 429 fn -> subs[fn -> nsubs] -> filesize = flen;
430 fn -> subs[fn -> nsubs] -> filename = lw_strdup(fn -> filedata + l); 430 fn -> subs[fn -> nsubs] -> filename = lw_strdup(fn -> filedata + l);
431 fn -> subs[fn -> nsubs] -> parent = fn; 431 fn -> subs[fn -> nsubs] -> parent = fn;
432 fn -> subs[fn -> nsubs] -> forced = fn -> forced; 432 if (fn -> subs[fn -> nsubs] -> parent -> islib == 0)
433 fn -> subs[fn -> nsubs] -> forced = fn -> forced;
434 else
435 fn -> subs[fn -> nsubs] -> forced = 0;
433 read_file(fn -> subs[fn -> nsubs]); 436 read_file(fn -> subs[fn -> nsubs]);
434 fn -> nsubs++; 437 fn -> nsubs++;
435 cc += flen; 438 cc += flen;
436 } 439 }
437 } 440 }