]> Cypherpunks repositories - gostls13.git/commitdiff
set reasonable initial time stamp (instead of begin of epoch)
authorRobert Griesemer <gri@golang.org>
Sat, 6 Jun 2009 06:54:44 +0000 (23:54 -0700)
committerRobert Griesemer <gri@golang.org>
Sat, 6 Jun 2009 06:54:44 +0000 (23:54 -0700)
R=rsc
DELTA=1  (1 added, 0 deleted, 0 changed)
OCL=29970
CL=29973

usr/gri/pretty/godoc.go

index 069f969d2dada546758faa88f559c9897d25fe3f..caecdad52b4d1ffeaaf00e2b05ef2c582a00eb2f 100644 (file)
@@ -106,6 +106,7 @@ func init() {
                goroot = "/home/r/go-release/go";
        }
        flag.StringVar(&goroot, "goroot", goroot, "Go root directory");
+       syncTime.set();  // have a reasonable initial value
 }