]> Cypherpunks repositories - gostls13.git/commitdiff
add ./ to imports where necessary
authorRuss Cox <rsc@golang.org>
Fri, 26 Jun 2009 03:13:56 +0000 (20:13 -0700)
committerRuss Cox <rsc@golang.org>
Fri, 26 Jun 2009 03:13:56 +0000 (20:13 -0700)
R=r
DELTA=51  (4 added, 4 deleted, 43 changed)
OCL=30759
CL=30778

12 files changed:
doc/progs/cat.go
doc/progs/cat_rot13.go
doc/progs/helloworld3.go
src/cmd/gobuild/gobuild.go
src/cmd/gobuild/main.go
src/cmd/gobuild/makefile.go
test/fixedbugs/bug083.dir/bug1.go
test/fixedbugs/bug088.dir/bug1.go
test/fixedbugs/bug106.dir/bug1.go
test/fixedbugs/bug133.dir/bug1.go
test/fixedbugs/bug133.dir/bug2.go
test/fixedbugs/bug160.dir/y.go

index f0f534926ec0d8504d706ef9e52140be143962b4..f9f00b6e325ed64861764aef015ec6bf3fde4b8f 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "file";
+       "./file";
        "flag";
        "fmt";
        "os";
index 931fdf03c34ac9f15fe9ad24793bb0d5bda2ec8f..ea608b83d7f57081ea0e7402af20c4c018f5f8f1 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "file";
+       "./file";
        "flag";
        "fmt";
        "os";
index 01fc3e30a1f3e277d8fa1dce6ced053c1556f236..ea567fe1bdc42aa06c11815ea053a29aea3e83ed 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import (
-       "file";
+       "./file";
        "fmt";
        "os";
 )
index 3cca7b485497c9277d8e397637837c0c53a18ba5..a6497425cc2e3f5032b26f41ef03eeb6b7751e6e 100644 (file)
@@ -7,7 +7,6 @@ package gobuild
 import (
        "flag";
        "fmt";
-       "gobuild";
        "io";
        "os";
        "path";
@@ -16,6 +15,8 @@ import (
        "template";
        "unicode";
        "utf8";
+
+       "./gobuild";
 )
 
 type Pkg struct
index da781f98867e64f6b1f7a9f41e8d2a8c398bb937..b5bef4d333941652f02364a45925107524f75188 100644 (file)
@@ -4,9 +4,7 @@
 
 package main
 
-import (
-       "gobuild";
-)
+import "./gobuild";
 
 func main() {
        gobuild.Main();
index 5db633c17c5e61c85ff00f3806612cefbd8262a0..36a9ee034ce8ba5efab43a7b344122c5c1849aea 100644 (file)
@@ -6,10 +6,11 @@ package gobuild
 
 import (
        "fmt";
-       "gobuild";
        "io";
        "path";
        "template";
+
+       "./gobuild";
 )
 
 var makefileTemplate = `
index ac6a73844d31b4a210ba9b22cea1eedcd23d82db..a48edbe33074852491733582ade20f1d55948e11 100644 (file)
@@ -4,7 +4,7 @@
 
 package bug1
 
-import "bug0"
+import "./bug0"
 
 // This is expected to fail--t0 is in package bug0 and should not be
 // visible here in package bug1.  The test for failure is in
index 7c21c25dea17bf92cbac1e8cc318fd8b554f5957..9cb60324d0862491a571e44948277e949ccad266 100644 (file)
@@ -4,7 +4,7 @@
 
 package main
 
-import P "bug0"
+import P "./bug0"
 
 func main() {
        a0 := P.V0();  // works
index 663a26dd25f1fda3ec0221fb1c0c47a574dca069..6ef40e94a224baff814d703939d091c5c265e4f1 100644 (file)
@@ -3,5 +3,5 @@
 // license that can be found in the LICENSE file.
 
 package bug1
-import "bug0"
+import "./bug0"
 
index 2ab5447e3cc850af5ec507aeeeafda076f4aa806..7562147885194563df8d7f942cd06a35dd7a6302 100644 (file)
@@ -4,6 +4,6 @@
 
 package bug1
 
-import "bug0"
+import "./bug0"
 
 type T struct { t bug0.T }
index bf39f2f6f8cf5a42086b81114f6661e076b8db72..2b2b50b7f3b3b2e90a694a7296ab7eea33a6e695 100644 (file)
@@ -4,8 +4,8 @@
 
 package bug1
 
-import "bug1"
-import "bug0"
+import "./bug1"
+import "./bug0"
 
 type T2 struct { t bug0.T }
 
index 1c8d353d7e78251937bb0cf645767d2a8b1d7969..27e2f352a41f634d469394dae1837859a393d010 100644 (file)
@@ -5,7 +5,7 @@
 package main
 
 import "os"
-import "x"
+import "./x"
 
 func main() {
        if x.Zero != 0 {