about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-12-12 18:05:37 -0800
committerAlex Crichton <alex@alexcrichton.com>2013-12-24 19:59:52 -0800
commit7554f5c58f840b648bc3c5b2d24d0df6683eed03 (patch)
tree4f85634f5c5c7eaf974eb2e75d48d4179c5bffc5 /src/libstd/sync
parent51abdee5f1ad932671350fdd8a7911fe144d08b8 (diff)
downloadrust-7554f5c58f840b648bc3c5b2d24d0df6683eed03.tar.gz
rust-7554f5c58f840b648bc3c5b2d24d0df6683eed03.zip
std: Fix a bug where Local::take() didn't zero out
In the compiled version of local_ptr (that with #[thread_local]), the take()
funciton didn't zero-out the previous pointer, allowing for multiple takes (with
fewer runtime assertions being tripped).
Diffstat (limited to 'src/libstd/sync')
0 files changed, 0 insertions, 0 deletions