• Rob Pike's avatar
    gob: several fixes. · 7f7cb166
    Rob Pike authored
    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
    7f7cb166
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libcgo Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.inc Loading commit data...
Make.pkg Loading commit data...
all-nacl.bash Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...