]> Cypherpunks repositories - gostls13.git/commitdiff
docs: fix wrong it's -> its
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 13 Jul 2011 17:54:51 +0000 (10:54 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 13 Jul 2011 17:54:51 +0000 (10:54 -0700)
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/4702046

src/cmd/godoc/godoc.go
src/cmd/godoc/index.go
src/cmd/ld/dwarf.c
src/pkg/encoding/pem/pem.go
src/pkg/exp/datafmt/datafmt.go
src/pkg/net/fd_windows.go

index 20ebd318356f8a96dfebe2c62fa49b0cd7e84622..771c8e6165d26024a7b2bca30880da8a70243d90 100644 (file)
@@ -170,7 +170,7 @@ func readDirList(filename string) ([]string, os.Error) {
                return e == nil && isPkgDir(d)
        }
        list := canonicalizePaths(strings.Split(string(contents), "\n"), filter)
-       // for each parent path, remove all it's children q
+       // for each parent path, remove all its children q
        // (requirement for binary search to work when filtering)
        i := 0
        for _, q := range list {
index e0c89e7949da69c37320258fffb03b775216048c..c724d71fb2f452381f59615540624ae0108bbf0e 100644 (file)
@@ -633,7 +633,7 @@ func (x *Indexer) addFile(filename string, goFile bool) (file *token.File, ast *
        // this permits the direct mapping of suffix array lookup results to
        // to corresponding Pos values.
        //
-       // When a file is added to the file set, it's offset base increases by
+       // When a file is added to the file set, its offset base increases by
        // the size of the file + 1; and the initial base offset is 1. Add an
        // extra byte to the sources here.
        x.sources.WriteByte(0)
index 1c10dc796792777c30f0817e56f8bf9166228b65..4ceb36d1f91ea1b5676de3046b77eb20ebeb493b 100644 (file)
@@ -1209,7 +1209,7 @@ copychildren(DWDie *dst, DWDie *src)
 }
 
 // Search children (assumed to have DW_TAG_member) for the one named
-// field and set it's DW_AT_type to dwtype
+// field and set its DW_AT_type to dwtype
 static void
 substitutetype(DWDie *structdie, char *field, DWDie* dwtype)
 {
@@ -1698,7 +1698,7 @@ inithist(Auto *a)
                        // We could just fixup the current
                        // linehist->line, but there doesn't appear to
                        // be a guarantee that every 'Z' is preceded
-                       // by it's own 'z', so do the safe thing and
+                       // by its own 'z', so do the safe thing and
                        // update the stack and push a new Linehist
                        // entry
                        includestack[includetop].line =  a->aoffset;
index ebe57edc0e62672c2f4d3a55c82e4fbea4f05181..12689b57b1ba0ca2f79bf599916bdf2fcaf3d6be 100644 (file)
@@ -97,7 +97,7 @@ func Decode(data []byte) (p *Block, rest []byte) {
 
        for {
                // This loop terminates because getLine's second result is
-               // always smaller than it's argument.
+               // always smaller than its argument.
                if len(rest) == 0 {
                        return nil, data
                }
index 10e4b54f9438604c91b7b923e133e42320f3e3c4..b4f83a8edf36a216edf1cfc28be17ae76292fd31 100644 (file)
@@ -317,12 +317,12 @@ func newState(fmt Format, env Environment, errors chan os.Error) *State {
        s.errors = errors
        s.linePos = token.Position{Line: 1}
 
-       // if we have a default rule, cache it's expression for fast access
+       // if we have a default rule, cache its expression for fast access
        if x, found := fmt["default"]; found {
                s.default_ = x
        }
 
-       // if we have a global separator rule, cache it's expression for fast access
+       // if we have a global separator rule, cache its expression for fast access
        if x, found := fmt["/"]; found {
                s.separator = x
        }
index 41d06120a5a997f0146860220fba5801ce771560..f727696740ff2cd4780e2304bbeb94f4bf5305d5 100644 (file)
@@ -155,7 +155,7 @@ func (s *ioSrv) ExecIO(oi anOpIface, deadline_delta int64) (n int, err os.Error)
        case 0:
                // IO completed immediately, but we need to get our completion message anyway.
        case syscall.ERROR_IO_PENDING:
-               // IO started, and we have to wait for it's completion.
+               // IO started, and we have to wait for its completion.
        default:
                return 0, &OpError{oi.Name(), o.fd.net, o.fd.laddr, os.Errno(e)}
        }