]> Cypherpunks repositories - gostls13.git/commitdiff
all: more typos
authorRobert Griesemer <gri@golang.org>
Fri, 2 Mar 2012 19:15:45 +0000 (11:15 -0800)
committerRobert Griesemer <gri@golang.org>
Fri, 2 Mar 2012 19:15:45 +0000 (11:15 -0800)
R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/5720044

src/cmd/go/build.go
src/pkg/crypto/ecdsa/ecdsa.go
src/pkg/go/printer/testdata/parser.go
src/pkg/io/pipe.go
src/pkg/syscall/exec_plan9.go

index 382f61e89b14c65ec6b66a6bcf116fbf7ca628d3..2323195120700d1dc9233f1eba81eb4795d3e27d 100644 (file)
@@ -992,7 +992,7 @@ func relPaths(paths []string) []string {
 var errPrintedOutput = errors.New("already printed output - no need to show error")
 
 // run runs the command given by cmdline in the directory dir.
-// If the commnd fails, run prints information about the failure
+// If the command fails, run prints information about the failure
 // and returns a non-nil error.
 func (b *builder) run(dir, shortenDir string, desc string, cmdargs ...interface{}) error {
        out, err := b.runOut(dir, desc, cmdargs...)
index d2f7d8f9bb3a6168b5ab9842451dce4c5c15c626..b28239b7862d3714eea3a353b2777eef8cddb6f7 100644 (file)
@@ -7,7 +7,7 @@
 package ecdsa
 
 // References:
-//   [NSA]: Suite B implementor's guide to FIPS 186-3,
+//   [NSA]: Suite B implementer's guide to FIPS 186-3,
 //     http://www.nsa.gov/ia/_files/ecdsa.pdf
 //   [SECG]: SECG, SEC1
 //     http://www.secg.org/download/aid-780/sec1-v2.pdf
index c85297f58314248b1ea3092b5716799d19b70d10..dba8bbd435156a68221d5a9e445785bf9a111577 100644 (file)
@@ -52,7 +52,7 @@ type parser struct {
        // Non-syntactic parser control
        exprLev int // < 0: in control clause, >= 0: in expression
 
-       // Ordinary identifer scopes
+       // Ordinary identifier scopes
        pkgScope   *ast.Scope        // pkgScope.Outer == nil
        topScope   *ast.Scope        // top-most scope; may be pkgScope
        unresolved []*ast.Ident      // unresolved identifiers
index 69f90510f7431454d88956483babc497215a6b3e..f3f0f175706ad117b6ce194421a8bd9690cdd6c9 100644 (file)
@@ -178,7 +178,7 @@ func (w *PipeWriter) CloseWithError(err error) error {
 // It is safe to call Read and Write in parallel with each other or with
 // Close. Close will complete once pending I/O is done. Parallel calls to
 // Read, and parallel calls to Write, are also safe:
-// the invidual calls will be gated sequentially.
+// the individual calls will be gated sequentially.
 func Pipe() (*PipeReader, *PipeWriter) {
        p := new(pipe)
        p.rwait.L = &p.l
index c6c975c7ec1fc01a7685dfffb130a25d464da86a..7e4e180fa17c13118a1f9cfdf3f9d66ac0386d4d 100644 (file)
@@ -71,13 +71,13 @@ func StringSlicePtr(ss []string) []*byte {
        return bb
 }
 
-// gbit16 reads a 16-bit numeric value from a 9P protocol message strored in b,
+// gbit16 reads a 16-bit numeric value from a 9P protocol message stored in b,
 // returning the value and the remaining slice of b.
 func gbit16(b []byte) (uint16, []byte) {
        return uint16(b[0]) | uint16(b[1])<<8, b[2:]
 }
 
-// gstring reads a string from a 9P protocol message strored in b,
+// gstring reads a string from a 9P protocol message stored in b,
 // returning the value as a Go string and the remaining slice of b.
 func gstring(b []byte) (string, []byte) {
        n, b := gbit16(b)