add ./ to imports where necessary

R=r
DELTA=51  (4 added, 4 deleted, 43 changed)
OCL=30759
CL=30778
This commit is contained in:
Russ Cox 2009-06-25 20:13:56 -07:00
parent 7de4883412
commit cf370a6206
12 changed files with 15 additions and 15 deletions

View file

@ -5,7 +5,7 @@
package main package main
import ( import (
"file"; "./file";
"flag"; "flag";
"fmt"; "fmt";
"os"; "os";

View file

@ -5,7 +5,7 @@
package main package main
import ( import (
"file"; "./file";
"flag"; "flag";
"fmt"; "fmt";
"os"; "os";

View file

@ -5,7 +5,7 @@
package main package main
import ( import (
"file"; "./file";
"fmt"; "fmt";
"os"; "os";
) )

View file

@ -7,7 +7,6 @@ package gobuild
import ( import (
"flag"; "flag";
"fmt"; "fmt";
"gobuild";
"io"; "io";
"os"; "os";
"path"; "path";
@ -16,6 +15,8 @@ import (
"template"; "template";
"unicode"; "unicode";
"utf8"; "utf8";
"./gobuild";
) )
type Pkg struct type Pkg struct

View file

@ -4,9 +4,7 @@
package main package main
import ( import "./gobuild";
"gobuild";
)
func main() { func main() {
gobuild.Main(); gobuild.Main();

View file

@ -6,10 +6,11 @@ package gobuild
import ( import (
"fmt"; "fmt";
"gobuild";
"io"; "io";
"path"; "path";
"template"; "template";
"./gobuild";
) )
var makefileTemplate = ` var makefileTemplate = `

View file

@ -4,7 +4,7 @@
package bug1 package bug1
import "bug0" import "./bug0"
// This is expected to fail--t0 is in package bug0 and should not be // 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 // visible here in package bug1. The test for failure is in

View file

@ -4,7 +4,7 @@
package main package main
import P "bug0" import P "./bug0"
func main() { func main() {
a0 := P.V0(); // works a0 := P.V0(); // works

View file

@ -3,5 +3,5 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package bug1 package bug1
import "bug0" import "./bug0"

View file

@ -4,6 +4,6 @@
package bug1 package bug1
import "bug0" import "./bug0"
type T struct { t bug0.T } type T struct { t bug0.T }

View file

@ -4,8 +4,8 @@
package bug1 package bug1
import "bug1" import "./bug1"
import "bug0" import "./bug0"
type T2 struct { t bug0.T } type T2 struct { t bug0.T }

View file

@ -5,7 +5,7 @@
package main package main
import "os" import "os"
import "x" import "./x"
func main() { func main() {
if x.Zero != 0 { if x.Zero != 0 {