Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(133)

Issue 5333050: code review 5333050: gopack: change archive file name length back to 16 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 6 months ago by rsc
Modified:
13 years, 6 months ago
Reviewers:
lucio
CC:
golang-dev, r
Visibility:
Public.

Description

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.

Patch Set 1 #

Patch Set 2 : diff -r 5111c850d855 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 761ef67b1235 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r e77b8510ab73 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -12 lines) Patch
M include/ar.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/ld/lib.c View 1 1 chunk +2 lines, -8 lines 0 comments Download
M src/pkg/exp/types/exportdata.go View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 4
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 6 months ago (2011-11-01 04:15:33 UTC) #1
r
LGTM
13 years, 6 months ago (2011-11-01 04:23:53 UTC) #2
rsc
*** Submitted as http://code.google.com/p/go/source/detail?r=39729c81e276 *** gopack: change archive file name length back to 16 This ...
13 years, 6 months ago (2011-11-01 04:29:28 UTC) #3
lucio
13 years, 6 months ago (2011-11-01 09:38:57 UTC) #4
I'm speechless :-)

I did think that extending the file name length was a good idea and
Plan 9 can be adjusted, it's a small fix.  Ah, well!

Lucio.

On 11/1/11, rsc@golang.org <rsc@golang.org> wrote:
> *** Submitted as
> http://code.google.com/p/go/source/detail?r=39729c81e276 ***
>
> 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
> http://codereview.appspot.com/5333050
>
>
> http://codereview.appspot.com/5333050/
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b