summaryrefslogtreecommitdiff
path: root/misc/cgo/stdio/file.go
Commit message (Collapse)AuthorAgeFilesLines
* all: make copyright headers consistent with one space after periodEmmanuel Odeke2016-05-021-1/+1
| | | | | | | | | | | | | | | | | | Follows suit with https://go-review.googlesource.com/#/c/20111. Generated by running $ grep -R 'Go Authors. All' * | cut -d":" -f1 | while read F;do perl -pi -e 's/Go Authors. All/Go Authors. All/g' $F;done The code in cmd/internal/unvendor wasn't changed. Fixes #15213 Change-Id: I4f235cee0a62ec435f9e8540a1ec08ae03b1a75f Reviewed-on: https://go-review.googlesource.com/21819 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
* misc/cgo/{life,stdio}, test/run.go: use test/run.go to do the cgo testsShenghou Ma2012-08-071-0/+2
| | | | | | | | | Enhances test/run.go to support testing other directories Will enable stdio tests on Windows in a follow-up CL. R=golang-dev, alex.brainman, rsc CC=golang-dev https://golang.org/cl/6220049
* misc/cgo/stdio: split stdout/stderr into a separate fileJoel Sing2012-06-051-3/+0
| | | | | | | | | | | Split stdout/stderr into a separate file so that can be handled differently on some platforms. Both NetBSD and OpenBSD have defines for stdout/stderr that require some coercion in order for cgo to handle them correctly. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6247062
* misc/cgo: re-enable some testsRuss Cox2012-03-061-1/+1
| | | | | | | | The testso directory still needs to be enabled. R=golang-dev, r CC=golang-dev https://golang.org/cl/5731048
* cgo: add GoBytes, fix gmp exampleRuss Cox2011-07-281-0/+1
| | | | | | | | | Fixes #1640. Fixes #2007. R=golang-dev, adg CC=golang-dev https://golang.org/cl/4815063
* cgo: handle references to symbols in shared librariesRuss Cox2010-12-171-0/+4
| | | | | | | | Fixes #1334. R=r CC=golang-dev https://golang.org/cl/3746041
* cgo: various bug fixesRuss Cox2010-07-141-13/+11
| | | | | | | | | | | | | | | | | * remember #defined names, so that C.stdout can refer to the real name (on OS X) __stdoutp. * better handling of #defined constant expressions * allow n, err = C.strtol("asdf", 0, 123) to get errno as os.Error * write all output files to current directory * don't require gcc output if there was no input Fixes #533. Fixes #709. Fixes #756. R=r CC=dho, golang-dev, iant https://golang.org/cl/1734047
* 1) Change default gofmt default settings forRobert Griesemer2009-12-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 1st set of files. R=rsc CC=agl, golang-dev, iant, ken2, r https://golang.org/cl/180047
* gofmt -w miscRobert Griesemer2009-11-051-1/+0
| | | | | R=rsc http://go/go-review/1025004
* 8c, 8l dynamic loading support.Russ Cox2009-10-031-0/+43
better mach binaries. cgo working on darwin+linux amd64+386. eliminated context switches - pi is 30x faster. add libcgo to build. on snow leopard: - non-cgo binaries work; all tests pass. - cgo binaries work on amd64 but not 386. R=r DELTA=2031 (1316 added, 626 deleted, 89 changed) OCL=35264 CL=35304