Changeset 3315 for trunk/src/lib/kDep.h


Ignore:
Timestamp:
Mar 31, 2020, 3:12:19 AM (5 years ago)
Author:
bird
Message:

lib/kDep+users: Escape spaces and such in dependency files (experimental).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/kDep.h

    r3167 r3315  
    4040    /** The filename hash. */
    4141    unsigned    uHash;
     42    /** Set if needs escaping. */
     43    char        fNeedsEscaping;
     44    /** Set if filename ends with a slash and may require special processing. */
     45    char        fTrailingSlash;
    4246    /** The length of the filename. */
    4347    size_t      cchFilename;
     
    5862extern PDEP depAdd(PDEPGLOBALS pThis, const char *pszFilename, size_t cchFilename);
    5963extern void depOptimize(PDEPGLOBALS pThis, int fFixCase, int fQuiet, const char *pszIgnoredExt);
    60 extern void depPrint(PDEPGLOBALS pThis, FILE *pOutput);
     64extern int  depNeedsEscaping(const char *pszFile, size_t cchFile, int fDependency);
     65extern void depEscapedWrite(FILE *pOutput, const char *pszFile, size_t cchFile, int fDepenency);
     66extern void depPrintChain(PDEPGLOBALS pThis, FILE *pOutput);
     67extern void depPrintTargetWithDeps(PDEPGLOBALS pThis, FILE *pOutput, const char *pszTarget, int fEscapeTarget);
    6168extern void depPrintStubs(PDEPGLOBALS pThis, FILE *pOutput);
    6269
Note: See TracChangeset for help on using the changeset viewer.