libgo patch committed: If we called opendir, call closedir

Ian Lance Taylor iant@google.com
Fri Jan 28 01:10:00 GMT 2011


This libgo patch ensures that if we called opendir using an os.File, we
call closedir if we close the file.  This fixes
http://code.google.com/p/go/issues/detail?id=1448 .  Bootstrapped and
ran Go testsuite on x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 541 bytes
Desc: closedir
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110128/f9466f3e/attachment.bin>


More information about the Gcc-patches mailing list