1
0
mirror of https://github.com/golang/go synced 2024-11-06 00:36:14 -07:00
go/misc/cgo/testcarchive
Ian Lance Taylor be012e1e2e cmd/cgo: don't use absolute paths in the export header file
We were using absolute paths in the #line directives in the export
header file. This makes the header file change if you move GOPATH.
The absolute paths aren't helpful for the final user, which is some C
program elsewhere.

Fixes #24945

Change-Id: I2da32c9b477df578bd5087435a03fe97abe462e3
Reviewed-on: https://go-review.googlesource.com/108315
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-04-25 00:36:09 +00:00
..
src runtime: enable/disable SIGPROF if needed when profiling 2017-02-09 18:53:34 +00:00
carchive_test.go cmd/cgo: don't use absolute paths in the export header file 2018-04-25 00:36:09 +00:00
main2.c runtime: handle SIGPIPE in c-archive and c-shared programs 2017-02-03 20:07:36 +00:00
main3.c misc/cgo/testcarchive: add missing header 2017-03-09 16:42:46 +00:00
main4.c misc/cgo: decrease test failure timeouts 2016-11-17 16:31:34 +00:00
main5.c all: enable c-shared/c-archive support for freebsd/amd64 2018-03-21 21:56:20 +00:00
main6.c runtime: enable/disable SIGPROF if needed when profiling 2017-02-09 18:53:34 +00:00
main_unix.c misc/cgo/testcarchive: split main.c into unix and non-unix 2016-03-26 00:57:23 +00:00
main_windows.c misc/cgo/testcarchive: split main.c into unix and non-unix 2016-03-26 00:57:23 +00:00
main.c misc/cgo/testcarchive: split main.c into unix and non-unix 2016-03-26 00:57:23 +00:00