From: Russ Cox Date: Wed, 14 Oct 2009 20:02:05 +0000 (-0700) Subject: excise some internal references. X-Git-Tag: weekly.2009-11-06~319 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a68592a4dd93e8202801ff3b9f25b617fde4462f;p=gostls13.git excise some internal references. R=r DELTA=209 (65 added, 114 deleted, 30 changed) OCL=35718 CL=35721 --- diff --git a/doc/effective_go.html b/doc/effective_go.html index 11f6eac51f..11944183d4 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -1696,8 +1696,10 @@ used by both TestEncoder and TestDecoder.

This data-driven style dominates in the Go package tests. + +link to go code search for 'for.*range' here +-->

Use reflect.DeepEqual to compare complex values

diff --git a/doc/go_tutorial.html b/doc/go_tutorial.html index cdf1443e9e..91bee3fa85 100644 --- a/doc/go_tutorial.html +++ b/doc/go_tutorial.html @@ -57,7 +57,7 @@ Next up, here's a version of the Unix utility echo(1):

07 import ( 08 "os"; -09 "flag"; +09 "flag"; // command line option parser 10 )

12 var n_flag = flag.Bool("n", false, "don't print final newline") diff --git a/doc/progs/echo.go b/doc/progs/echo.go index 3ddb4f83e2..b2c09d958d 100644 --- a/doc/progs/echo.go +++ b/doc/progs/echo.go @@ -6,7 +6,7 @@ package main import ( "os"; - "flag"; + "flag"; // command line option parser ) var n_flag = flag.Bool("n", false, "don't print final newline") diff --git a/doc/sieve.gif b/doc/sieve.gif new file mode 100644 index 0000000000..c33bafd06b Binary files /dev/null and b/doc/sieve.gif differ diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index fe3194d543..d45ac50405 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -413,8 +413,7 @@ void lock(Lock*); void unlock(Lock*); /* - * sleep and wakeup on one-time events, like - * Notification (but shorter to type). + * sleep and wakeup on one-time events. * before any calls to notesleep or notewakeup, * must call noteclear to initialize the Note. * then, any number of threads can call notesleep