1
0
mirror of https://github.com/golang/go synced 2024-10-04 03:21:22 -06:00
go/src
Rob Pike 7f7cb166c8 gob: several fixes.
1) Be sure to use the eval-time encoder/decoder rather than
the compile-time decoder.  In a few cases the receiver for
the compiling encoder was being pickled incorrectly into a
closure.
(This is the fix for issue 1238).

2) Get the innermost name right when given a pointer to an
unnamed type.

3) Use a count to delineate interface values, making it
possible to ignore values without having a concrete type
to encode into.  This is a protocol change but only for the
new feature, so it shouldn't affect anyone.  The old test
worked because, amazingly, it depended on bug #1.

Fixes #1238.

R=rsc, albert.strasheim
CC=golang-dev
https://golang.org/cl/2806041
2010-10-31 13:41:30 -07:00
..
cmd testing: eliminate testing/regexp 2010-10-28 16:54:24 -07:00
lib9 build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
libbio build: test for _WIN32, not _MINGW32 2010-09-08 22:20:35 -04:00
libcgo libcgo: fix comment 2010-09-30 14:58:29 -04:00
libmach 5l, 6l, 8l: link pclntab and symtab as ordinary rodata symbols 2010-10-19 18:07:19 -04:00
pkg gob: several fixes. 2010-10-31 13:41:30 -07:00
all-nacl.bash nacl: another attempt at fixing build 2010-05-03 11:12:54 -07:00
all.bash build: $GOBIN defaults to $GOROOT/bin 2010-08-24 20:00:33 -04:00
clean.bash build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
env.bash env.bash: fix building in directory with spaces in the path. 2010-09-21 16:43:31 +10:00
make.bash build: only print "You need to add foo to PATH" when needed 2010-10-25 16:38:48 +11:00
Make.ccmd build: generate, clean .exe files on Windows 2010-09-09 01:42:55 -04:00
Make.clib build: use full path when compiling libraries 2010-09-24 11:55:16 -04:00
Make.cmd Make.cmd: remove $(OFILES) 2010-10-11 22:39:37 -04:00
Make.common build: remove unnecessary references to GOBIN and GOROOT 2010-08-30 15:40:56 -04:00
Make.inc Make.inc: delete unnecessary -no-inline flag to quietgcc 2010-10-21 11:00:54 -07:00
Make.pkg Make.pkg: remove .so before installing new one 2010-10-01 16:02:18 -04:00
quietgcc.bash build: add GOHOSTOS and GOHOSTARCH environment variables. 2010-10-08 18:52:28 +11:00
run.bash build: add gobuilder and goplay to run.bash 2010-10-21 10:46:10 +11:00
sudo.bash build: no required environment variables 2010-08-18 10:08:49 -04:00
version.bash version.bash: cope with ancient Mercurial 2010-03-16 18:45:06 -07:00