Changeset 3122 for trunk/tools


Ignore:
Timestamp:
Mar 15, 2000, 6:14:16 PM (25 years ago)
Author:
bird
Message:

Simple cleanup is implemented but disabled.

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:29 bird Exp $
     1/* $Id: fastdep.c,v 1.7 2000-03-15 17:14:16 bird Exp $
    22 *
    33 * Fast dependents. (Fast = Quick and Dirty!)
     
    464464        argi++;
    465465    }
     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
    466475
    467476    return rc;
     
    16881697         */
    16891698        i = -1;
    1690         while (psz >= &pszNext[i] && pszNext[i] == '\n' || pszNext[i] == '\r')
     1699        while (psz <= &pszNext[i] && pszNext[i] == '\n' || pszNext[i] == '\r')
    16911700            pszNext[i--] = '\0';
    16921701        trimR(psz);
     
    17161725                pvRule = depAddRule(trimR(psz));
    17171726                psz += i + 1;
     1727                cch -= i + 1;
    17181728                fMoreDeps = TRUE;
    17191729            }
Note: See TracChangeset for help on using the changeset viewer.