summaryrefslogtreecommitdiffstats
path: root/Python/pystrcmp.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-04-17 14:51:52 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-04-17 14:51:52 (GMT)
commita858bbde03638e3145894029dbc40d3d777be24f (patch)
tree31a6a4da0c0e64ee88a8ce0f26a1ee8ae2fb06cd /Python/pystrcmp.c
parentb6a9c9761ca988e1ab69defd45433fac0b2ff89c (diff)
downloadcpython-a858bbde03638e3145894029dbc40d3d777be24f.zip
cpython-a858bbde03638e3145894029dbc40d3d777be24f.tar.gz
cpython-a858bbde03638e3145894029dbc40d3d777be24f.tar.bz2
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/pystrcmp.c')
0 files changed, 0 insertions, 0 deletions