gcc/libgo
Ian Lance Taylor 85c2f96c1c syscall: fix creds_test to reliably close os.File
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

From-SVN: r192854
2012-10-26 17:50:10 +00:00
..
config
go syscall: fix creds_test to reliably close os.File 2012-10-26 17:50:10 +00:00
runtime libgo: Update to current sources. 2012-10-23 04:31:11 +00:00
testsuite libgo: Update to current sources. 2012-10-23 04:31:11 +00:00
aclocal.m4
config.h.in runtime: Use dl_iterate_phdr to get TLS size. 2012-06-07 00:55:20 +00:00
configure re PR go/54918 (libgo.so.0 is not runtime compatible between gcc-4.6.2 and gcc-4.7.x) 2012-10-23 05:01:24 +00:00
configure.ac re PR go/54918 (libgo.so.0 is not runtime compatible between gcc-4.6.2 and gcc-4.7.x) 2012-10-23 05:01:24 +00:00
godeps.sh libgo: Generate dependencies automatically. 2011-12-03 00:16:12 +00:00
LICENSE
Makefile.am libgo: Solaris portability patches. 2012-10-25 18:26:34 +00:00
Makefile.in libgo: Solaris portability patches. 2012-10-25 18:26:34 +00:00
MERGE libgo: Update to current sources. 2012-10-23 04:31:11 +00:00
merge.sh libgo: Update to current sources. 2012-10-23 04:31:11 +00:00
mksysinfo.sh mksysinfo: Define SIGPOLL and SIGCLD if necessary. 2012-10-24 19:00:44 +00:00
PATENTS
README
README.gcc

See ../README.

This is the runtime support library for the Go programming language.
This library is intended for use with the Go frontend.

The library has only been tested on GNU/Linux using glibc.  It should
not be difficult to port to other operating systems.

The library has only been tested on x86/x86_64 systems.  It should not
be difficult to port to other architectures.

Directories:

go
  A copy of the Go library from http://golang.org/, with a few
  changes for gccgo.  Notably, the reflection interface is different.

runtime
  Runtime functions, written in C, which are called directly by the
  compiler or by the library.

syscalls
  System call support.

Contributing
============

To contribute patches to the files in this directory, please see
http://golang.org/doc/gccgo_contribute.html .

The master copy of these files is hosted at
http://code.google.com/p/gofrontend .  Changes to these files require
signing a Google contributor license agreement.  If you are the
copyright holder, you will need to agree to the individual contributor
license agreement at
http://code.google.com/legal/individual-cla-v1.0.html.  This agreement
can be completed online.

If your organization is the copyright holder, the organization will
need to agree to the corporate contributor license agreement at
http://code.google.com/legal/corporate-cla-v1.0.html.

If the copyright holder for your code has already completed the
agreement in connection with another Google open source project, it
does not need to be completed again.