diff options
author | Tom Tromey <tom@tromey.com> | 2021-06-21 21:55:57 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-06-22 13:43:08 -0600 |
commit | 2fb749c5f438fdc77cbc7336b5a8def1fa8c1581 (patch) | |
tree | eeb22db8d02f7aad5448d39986f3c81c251a6c21 /gcc/rust/rust-backend.h | |
parent | f2d9faf3862a75247adbd6c233c889010902a34b (diff) | |
download | gcc-2fb749c5f438fdc77cbc7336b5a8def1fa8c1581.zip gcc-2fb749c5f438fdc77cbc7336b5a8def1fa8c1581.tar.gz gcc-2fb749c5f438fdc77cbc7336b5a8def1fa8c1581.tar.bz2 |
Fix RAIIFile buglet
RAIIFile's implementation of operator= can leak a file, because it
doesn't handle the case where the assignee holds an open file handle.
Diffstat (limited to 'gcc/rust/rust-backend.h')
0 files changed, 0 insertions, 0 deletions