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