about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-07 21:21:47 -0700
committerbors <bors@rust-lang.org>2014-04-07 21:21:47 -0700
commite415c25bcd81dc1f9a5a3d25d9b48ed2d545336b (patch)
tree11f227be6b59967d9732ac2d5b551b0a59c5e1b6 /src/libstd
parent9a33330caaaedb9eef447ae862e9b87e3aa9880f (diff)
parent7da210907e4bf04a208adf186691cf516f1ef930 (diff)
downloadrust-e415c25bcd81dc1f9a5a3d25d9b48ed2d545336b.tar.gz
rust-e415c25bcd81dc1f9a5a3d25d9b48ed2d545336b.zip
auto merge of #13393 : alexcrichton/rust/hopefully-fix-bsd, r=sfackler
This appears to be causing the BSD bots to lock up when looking at the core
dumps I've managed to get. Dropping the `FileDesc` structure triggers the `Arc`
it's contained in to get cleaned up, invoking free(). This instead just closes
the file descriptor (the arc itself is never cleaned up).

I'm still not entirely sure why this is a problem because the pthreads runtime
should register hooks for fork() to prevent this sort of deadlock, but perhaps
that's only done on linux?
Diffstat (limited to 'src/libstd')
0 files changed, 0 insertions, 0 deletions