]> Cypherpunks repositories - gostls13.git/commit
gopack: change archive file name length back to 16
authorRuss Cox <rsc@golang.org>
Tue, 1 Nov 2011 04:29:16 +0000 (00:29 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 1 Nov 2011 04:29:16 +0000 (00:29 -0400)
commit7b04471dfaaddc49efad470275fcc45546870a73
tree0f960bdcf79874152fa7f80263b4ca25a32f4108
parent4853c51770f5e99d5d690801e5cb963848591587
gopack: change archive file name length back to 16

This CL grew the archive file name length from 16 to 64:

        changeset:   909:58574851d792
        user:        Russ Cox <rsc@golang.org>
        date:        Mon Oct 20 13:53:56 2008 -0700

Back then, every x.go file in a package became an x.6 file
in the archive.  It was important to be able to allow the
use of long Go source file names, hence the increase in size.

Today, all Go source files compile into a single _go_.6 file
regardless of their names, so the archive file name length
no longer needs to be long.  The longer name causes some
problems on Plan 9, where the native archive format is the
same but with 16-byte names, so revert back to 16.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5333050
include/ar.h
src/cmd/ld/lib.c
src/pkg/exp/types/exportdata.go