summaryrefslogtreecommitdiffstats
path: root/libgo/go/syscall/creds_test.go
Commit message (Collapse)AuthorAgeFilesLines
* syscall: fix creds_test to reliably close os.Fileian2012-10-261-2/+6
| | | | | | | | | | | | | | | | | | | | Uncovered by Uros Bizjak. Before this patch the test would close the file descriptor but not the os.File. When the os.File was GC'ed, the finalizer would close the file descriptor again. That would cause problems if the same file descriptor were returned by a later call to open in another test. On my system: > GOGC=30 go test --- FAIL: TestPassFD (0.04 seconds) passfd_test.go:62: FileConn: dup: bad file descriptor FAIL git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192854 138bc75d-0d04-0410-961f-82ee72b054a4
* libgo: Update to current sources.ian2012-10-231-0/+109
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192704 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud