Ignore:
Timestamp:
Sep 14, 2016, 3:36:15 PM (9 years ago)
Author:
bird
Message:

rewrote kmk_redirect to skip the separate process. Added chache invalidation after directory deletion for addressing kmk rebuild and fetching.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/quote_argv.c

    r2894 r2912  
    8080 * Arguments": http://msdn.microsoft.com/en-us/library/a1y7w461.aspx
    8181 *
     82 * @returns 0 on success, -1 if out of memory.
    8283 * @param   argc                The argument count.
    8384 * @param   argv                The argument vector.
     
    9091 *                              Suggest doing the latter if it's main()'s argv.
    9192 */
    92 void quote_argv(int argc, char **argv, int fWatcomBrainDamage, int fFreeOrLeak)
     93int quote_argv(int argc, char **argv, int fWatcomBrainDamage, int fFreeOrLeak)
    9394{
    9495    int i;
     
    122123            size_t cchNew       = fComplicated ? cchOrg * 2 + 2 : cchOrg + 2;
    123124            char  *pszNew       = (char *)malloc(cchNew + 1 /*term*/ + 3 /*passthru hack*/);
     125            if (!pszNew)
     126                return -1;
    124127
    125128            argv[i] = pszNew;
     
    208211
    209212    /*for (i = 0; i < argc; i++) fprintf(stderr, "argv[%u]=%s;;\n", i, argv[i]);*/
     213    return 0;
    210214}
    211215
Note: See TracChangeset for help on using the changeset viewer.