diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-12-12 18:05:37 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-12-24 19:59:52 -0800 |
| commit | 7554f5c58f840b648bc3c5b2d24d0df6683eed03 (patch) | |
| tree | 4f85634f5c5c7eaf974eb2e75d48d4179c5bffc5 /src/libstd/sync | |
| parent | 51abdee5f1ad932671350fdd8a7911fe144d08b8 (diff) | |
| download | rust-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
