Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
dcdaeebd
Commit
dcdaeebd
authored
Jul 13, 2011
by
Brad Fitzpatrick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs: fix wrong it's -> its
R=golang-dev, iant CC=golang-dev
https://golang.org/cl/4702046
parent
e3a77347
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
godoc.go
src/cmd/godoc/godoc.go
+1
-1
index.go
src/cmd/godoc/index.go
+1
-1
dwarf.c
src/cmd/ld/dwarf.c
+2
-2
pem.go
src/pkg/encoding/pem/pem.go
+1
-1
datafmt.go
src/pkg/exp/datafmt/datafmt.go
+2
-2
fd_windows.go
src/pkg/net/fd_windows.go
+1
-1
No files found.
src/cmd/godoc/godoc.go
View file @
dcdaeebd
...
...
@@ -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
{
...
...
src/cmd/godoc/index.go
View file @
dcdaeebd
...
...
@@ -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
)
...
...
src/cmd/ld/dwarf.c
View file @
dcdaeebd
...
...
@@ -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
;
...
...
src/pkg/encoding/pem/pem.go
View file @
dcdaeebd
...
...
@@ -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
}
...
...
src/pkg/exp/datafmt/datafmt.go
View file @
dcdaeebd
...
...
@@ -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
}
...
...
src/pkg/net/fd_windows.go
View file @
dcdaeebd
...
...
@@ -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
)}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment