VirtualBox

Changeset 3219 in kBuild for trunk/src/kmk/kmkbuiltin/cat.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/cat.c

    r3218 r3219  
    222222                } else {
    223223                        pThis->filename = path;
    224                         fd = open(path, O_RDONLY);
     224                        fd = open(path, O_RDONLY | KMK_OPEN_NO_INHERIT);
    225225#ifndef NO_UDOM_SUPPORT
    226226                        if (fd < 0 && errno == EOPNOTSUPP)
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