]> Cypherpunks repositories - gostls13.git/commitdiff
Typo fixes.
authorDavid Symonds <dsymonds@golang.org>
Sat, 7 Nov 2009 02:43:57 +0000 (18:43 -0800)
committerRuss Cox <rsc@golang.org>
Sat, 7 Nov 2009 02:43:57 +0000 (18:43 -0800)
R=rsc
CC=go-dev
http://go/go-review/1026014

src/pkg/asn1/asn1.go
src/pkg/compress/flate/inflate.go
src/pkg/exp/ogle/abort.go
src/pkg/exp/ogle/process.go
src/pkg/log/log.go
src/pkg/rpc/server.go

index 642a6ad2bf1a89eb7d77af40801444e81e84a483..fac5bba556b393c6b9c6067b3be6433d887553a4 100644 (file)
@@ -442,7 +442,7 @@ func parseTagAndLength(bytes []byte, initOffset int) (ret tagAndLength, offset i
 //
 // (This is used in order to remove ambiguity with optional elements.)
 //
-// You can layer EXPLICIT and IMPLICIT tags to an arbitary depth, however we
+// You can layer EXPLICIT and IMPLICIT tags to an arbitrary depth, however we
 // don't support that here. We support a single layer of EXPLICIT or IMPLICIT
 // tagging with tag strings on the fields of a structure.
 
index 96bbcb65344ec44ebf9f51f51858ff1ec69f4f6a..2fe494f7bcef885e191a3951044bd478bf74a3d8 100644 (file)
@@ -358,7 +358,7 @@ func (f *inflater) readHuffman() os.Error {
 // Decode a single Huffman block from f.
 // hl and hd are the Huffman states for the lit/length values
 // and the distance values, respectively.  If hd == nil, using the
-// fixed distance encoding assocated with fixed Huffman blocks.
+// fixed distance encoding associated with fixed Huffman blocks.
 func (f *inflater) decodeBlock(hl, hd *huffmanDecoder) os.Error {
        for {
                v, err := f.huffSym(hl);
index f7bf11527ff9e9cd1d67757d147d223a1932edca..7773cac2b5ddf500655401c90e118a80980e2f5e 100644 (file)
@@ -9,7 +9,7 @@ import (
        "runtime";
 )
 
-// An aborter aborts the thread's current compututation, usually
+// An aborter aborts the thread's current computation, usually
 // passing the error to a waiting thread.
 type aborter interface {
        Abort(err os.Error);
index b2efbcd468e23fed95056bbdefb2e099438ad358..0b45477eaacf6c5b85865f7ea79705e36b77f235 100644 (file)
@@ -482,7 +482,7 @@ func (p *Process) Event() Event     { return p.event }
 // but it's still weird if an event happens after the Cont and before
 // the WaitStop that the handlers say to continue from.  Or we could
 // handle them on a separate thread.  Then obviously you get weird
-// asynchrony things, like prints while the user it typing a command,
+// asynchronous things, like prints while the user it typing a command,
 // but that's not necessarily a bad thing.
 
 // ContWait resumes process execution and waits for an event to occur
index e5a28031bf477191efb08e672c8e4944859f0969..04b1e4fa9e810b2793109cfdd414a30cc87879dc 100644 (file)
@@ -147,7 +147,7 @@ func (l *Logger) Output(calldepth int, s string) {
 // Logf is analogous to Printf() for a Logger.
 func (l *Logger) Logf(format string, v ...)    { l.Output(2, fmt.Sprintf(format, v)) }
 
-// Log is analogouts to Print() for a Logger.
+// Log is analogous to Print() for a Logger.
 func (l *Logger) Log(v ...)    { l.Output(2, fmt.Sprintln(v)) }
 
 // Stdout is a helper function for easy logging to stdout. It is analogous to Print().
index 3403c74bcd291ec787b8f3b2274eacef26282b8a..b66d45406a00206639c92847af22397d281419a9 100644 (file)
@@ -168,7 +168,7 @@ type serverType struct {
 // For example, rpc.Register() calls server.add().
 var server = &serverType{serviceMap: make(map[string]*service)}
 
-// Is this a publicly vislble - upper case - name?
+// Is this a publicly visible - upper case - name?
 func isPublic(name string) bool {
        rune, _ := utf8.DecodeRuneInString(name);
        return unicode.IsUpper(rune);