forked from golang/go
-
Notifications
You must be signed in to change notification settings - Fork 0
OlderVersions
Andrew Gerrand edited this page Dec 10, 2014
·
1 revision
This wiki page collects patches to build older version of Go on newer systems for testing and benchmark purposes. Please note that older Go versions are not supported, so don't use older version in production.
diff -ur go/src/cmd/cc/funct.c go1/src/cmd/cc/funct.c
--- go/src/cmd/cc/funct.c 2012-03-28 00:49:24.000000000 -0400
+++ go1/src/cmd/cc/funct.c 2014-05-04 00:56:00.971460175 -0400
@@ -269,7 +269,7 @@
goto bad;
f = alloc(sizeof(*f));
- for(o=0; o<sizeof(f->sym); o++)
+ for(o=0; o<nelem(f->sym); o++)
f->sym[o] = S;
t->funct = f;
- Home
- Getting started with Go
- Working with Go
- Learning more about Go
- The Go Community
- Using the Go toolchain
- Additional Go Programming Wikis
- Online Services that work with Go
- Troubleshooting Go Programs in Production
- Contributing to the Go Project
- Platform Specific Information
- Release Specific Information