Changeset 3122 for trunk/tools
- Timestamp:
- Mar 15, 2000, 6:14:16 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/fastdep/fastdep.c
r3121 r3122 1 /* $Id: fastdep.c,v 1. 6 2000-03-15 17:02:29bird Exp $1 /* $Id: fastdep.c,v 1.7 2000-03-15 17:14:16 bird Exp $ 2 2 * 3 3 * Fast dependents. (Fast = Quick and Dirty!) … … 464 464 argi++; 465 465 } 466 467 /* Close the dep file! */ 468 if (phDep != NULL) 469 fclose(phDep); 470 471 /* clean it! */ 472 #if 0 473 depCleanFile(pszDepFile); 474 #endif 466 475 467 476 return rc; … … 1688 1697 */ 1689 1698 i = -1; 1690 while (psz >= &pszNext[i] && pszNext[i] == '\n' || pszNext[i] == '\r')1699 while (psz <= &pszNext[i] && pszNext[i] == '\n' || pszNext[i] == '\r') 1691 1700 pszNext[i--] = '\0'; 1692 1701 trimR(psz); … … 1716 1725 pvRule = depAddRule(trimR(psz)); 1717 1726 psz += i + 1; 1727 cch -= i + 1; 1718 1728 fMoreDeps = TRUE; 1719 1729 }
Note:
See TracChangeset
for help on using the changeset viewer.