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).

Location:
trunk/src/kmk/kmkbuiltin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin/kDepIDB.c

    r3192 r3315  
    830830    {
    831831        depOptimize(&This.Core, fFixCase, fQuiet, NULL /*pszIgnoredExt*/);
    832         fprintf(pOutput, "%s:", pszTarget);
    833         depPrint(&This.Core, pOutput);
     832        depPrintTargetWithDeps(&This.Core, pOutput, pszTarget, 1 /*fEscapeTarget*/);
    834833        if (fStubs)
    835834            depPrintStubs(&This.Core, pOutput);
  • trunk/src/kmk/kmkbuiltin/kDepObj.c

    r3238 r3315  
    11881188    {
    11891189        depOptimize(&This.Core, fFixCase, fQuiet, pszIgnoreExt);
    1190         fprintf(pOutput, "%s:", pszTarget);
    1191         depPrint(&This.Core, pOutput);
     1190        depPrintTargetWithDeps(&This.Core, pOutput, pszTarget, 1 /*fEscapeTarget*/);
    11921191        if (fStubs)
    11931192            depPrintStubs(&This.Core, pOutput);
Note: See TracChangeset for help on using the changeset viewer.