summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-03-04 18:04:41 -0800
committerJosh Gao <jmgao@google.com>2016-03-04 18:04:41 -0800
commit6d7c1ee9ffefa98358b7043a8984366098c21b61 (patch)
treed804189d541dc3dab73b0e1bf54d8e4fa8f421f3 /libc/malloc_debug/malloc_debug.cpp
parent5e57039c24d8aa777480e33255d627ca28af7dfe (diff)
forkpty: set the output fd to -1 on the slave side.
glibc, FreeBSD, OpenBSD, and Darwin all just leave the fd unchanged and possibly uninitialized. Setting it to -1 seems friendlier, though. Bug: http://b/27506278 Change-Id: I7acdc8eecbea4404d5fb4ba0b4d572245a323886
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions