summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-11-01 00:29:16 -0400
committerRuss Cox <rsc@golang.org>2011-11-01 00:29:16 -0400
commite9ac02ac58994082497e1711ef6348c1a5e64eea (patch)
treeface56fdef3d8f5a677d8ed4221fa435f3040850 /include
parentcff65be35d31cefe80b6e40e3eda8567d328ad25 (diff)
downloadgo-e9ac02ac58994082497e1711ef6348c1a5e64eea.tar.gz
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
Diffstat (limited to 'include')
-rw-r--r--include/ar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ar.h b/include/ar.h
index b565ac90b..d5636b362 100644
--- a/include/ar.h
+++ b/include/ar.h
@@ -32,7 +32,7 @@
#define SARMAG 8
#define ARFMAG "`\n"
-#define SARNAME 64
+#define SARNAME 16
struct ar_hdr
{