Ignore:
Timestamp:
Mar 31, 2018, 12:30:15 AM (7 years ago)
Author:
bird
Message:

kmkbuiltin: Added KMK_OPEN_NO_INHERIT to all open calls.

File:
1 edited

Legend:

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

    r3192 r3219  
    10691069                        pOutput = stdout;
    10701070                    else
    1071                         pOutput = fopen(pszOutput, "w");
     1071                        pOutput = fopen(pszOutput, "w" KMK_FOPEN_NO_INHERIT_MODE);
    10721072                    if (!pOutput)
    10731073                        return err(pCtx, 1, "Failed to create output file '%s'", pszOutput);
     
    11451145        else
    11461146        {
    1147             pInput = fopen(argv[i], "rb");
     1147            pInput = fopen(argv[i], "rb" KMK_FOPEN_NO_INHERIT_MODE);
    11481148            if (!pInput)
    11491149                return err(pCtx, 1, "Failed to open input file '%s'", argv[i]);
Note: See TracChangeset for help on using the changeset viewer.