summaryrefslogtreecommitdiff
path: root/Python/asdl.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-04-17 16:51:52 +0200
committerVictor Stinner <victor.stinner@gmail.com>2016-04-17 16:51:52 +0200
commita858bbde03638e3145894029dbc40d3d777be24f (patch)
tree31a6a4da0c0e64ee88a8ce0f26a1ee8ae2fb06cd /Python/asdl.c
parentb6a9c9761ca988e1ab69defd45433fac0b2ff89c (diff)
downloadcpython-git-a858bbde03638e3145894029dbc40d3d777be24f.tar.gz
Avoid fcntl() if possible in set_inheritable()
Issue #26770: set_inheritable() avoids calling fcntl() twice if the FD_CLOEXEC is already set/cleared. This change only impacts platforms using the fcntl() implementation of set_inheritable() (not Linux nor Windows).
Diffstat (limited to 'Python/asdl.c')
0 files changed, 0 insertions, 0 deletions