VirtualBox

Changeset 3219 in kBuild for trunk/src/kmk/kmkbuiltin/kDepObj.c


Ignore:
Timestamp:
Mar 30, 2018 10:30:15 PM (6 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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette