]> Cypherpunks repositories - gostls13.git/commit
netchan: rather than 0, make -1 mean infinite, by analogy with strings.Split etc.
authorRob Pike <r@golang.org>
Wed, 1 Sep 2010 22:10:53 +0000 (08:10 +1000)
committerRob Pike <r@golang.org>
Wed, 1 Sep 2010 22:10:53 +0000 (08:10 +1000)
commit3d76135ee5b6084b1497b12421e3d3fe8b160a16
tree1cc3bfb8893c10396b695d5c72dc808b99cb657c
parent426275d70236be0ac817ae8185c215e9fc4eb681
netchan: rather than 0, make -1 mean infinite, by analogy with strings.Split etc.
It's unlikely to affect any extant code, but I wanted to make this API change
before digging in for a rewrite.

R=rsc
CC=golang-dev
https://golang.org/cl/2112041
src/pkg/netchan/export.go
src/pkg/netchan/import.go