<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.7rc1</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.7rc1</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.7rc1'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2016-07-08T03:48:20Z</updated>
<entry>
<title>[release-branch.go1.7] runtime: fix nanotime for macOS Sierra</title>
<updated>2016-07-08T03:48:20Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2016-07-07T23:41:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=53da5fd4d431881bb3583c9790db7735a6530a1b'/>
<id>urn:sha1:53da5fd4d431881bb3583c9790db7735a6530a1b</id>
<content type='text'>
In the beta version of the macOS Sierra (10.12) release, the
gettimeofday system call changed on x86. Previously it always returned
the time in the AX/DX registers. Now, if AX is returned as 0, it means
that the system call has stored the values into the memory pointed to by
the first argument, just as the libc gettimeofday function does. The
libc function handles both cases, and we need to do so as well.

Fixes #16272.

Change-Id: Ibe5ad50a2c5b125e92b5a4e787db4b5179f6b723
Reviewed-on: https://go-review.googlesource.com/24812
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
Reviewed-on: https://go-review.googlesource.com/24755
Reviewed-by: Chris Broadfoot &lt;cbro@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.7] go1.7rc1</title>
<updated>2016-07-08T02:57:35Z</updated>
<author>
<name>Chris Broadfoot</name>
<email>cbro@google.com</email>
</author>
<published>2016-07-08T02:32:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=a91416e7abf2236909f99aea85accfe98a9ba1fd'/>
<id>urn:sha1:a91416e7abf2236909f99aea85accfe98a9ba1fd</id>
<content type='text'>
Change-Id: Ifbf1c13ce740428add68d68133c7f10876bad404
Reviewed-on: https://go-review.googlesource.com/24816
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Andrew Gerrand &lt;adg@golang.org&gt;
</content>
</entry>
<entry>
<title>runtime: handle selects with duplicate channels in shrinkstack</title>
<updated>2016-07-08T02:05:40Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2016-07-08T00:43:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=84bb9e62f06dbb62279241fa0bd7a6c8846271ac'/>
<id>urn:sha1:84bb9e62f06dbb62279241fa0bd7a6c8846271ac</id>
<content type='text'>
The shrinkstack code locks all the channels a goroutine is waiting for,
but didn't handle the case of the same channel appearing in the list
multiple times. This led to a deadlock. The channels are sorted so it's
easy to avoid locking the same channel twice.

Fixes #16286.

Change-Id: Ie514805d0532f61c942e85af5b7b8ac405e2ff65
Reviewed-on: https://go-review.googlesource.com/24815
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Austin Clements &lt;austin@google.com&gt;
</content>
</entry>
<entry>
<title>lib/time: update to IANA release 2016f (July 2016)</title>
<updated>2016-07-07T16:15:13Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@golang.org</email>
</author>
<published>2016-07-06T00:16:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=e5ff529679b3adbed06d509b0fc21a76b62e89e9'/>
<id>urn:sha1:e5ff529679b3adbed06d509b0fc21a76b62e89e9</id>
<content type='text'>
Fixes #16273

Change-Id: I443e1f254fd683c4ff61beadae89c1c45ff5d972
Reviewed-on: https://go-review.googlesource.com/24744
Reviewed-by: Andrew Gerrand &lt;adg@golang.org&gt;
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Quentin Smith &lt;quentin@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
</content>
</entry>
<entry>
<title>net/http: deflake TestClientRedirectContext</title>
<updated>2016-07-07T04:06:52Z</updated>
<author>
<name>Brad Fitzpatrick</name>
<email>bradfitz@golang.org</email>
</author>
<published>2016-07-06T21:29:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d8722012afb789f1a2875a0d2ed50bfbae12bb9c'/>
<id>urn:sha1:d8722012afb789f1a2875a0d2ed50bfbae12bb9c</id>
<content type='text'>
The test was checking for 1 of 2 possible error values. But based on
goroutine scheduling and the randomness of select statement receive
cases, it was possible for a 3rd type of error to be returned.

This modifies the code (not the test) to make that third type of error
actually the second type of error, which is a nicer error message.

The test is no longer flaky. The flake was very reproducible with a
5ms sleep before the select at the end of Transport.getConn.

Thanks to Github user @jaredborner for debugging.

Fixes #16049

Change-Id: I0d2a036c9555a8d2618b07bab01f28558d2b0b2c
Reviewed-on: https://go-review.googlesource.com/24748
Reviewed-by: Andrew Gerrand &lt;adg@golang.org&gt;
Run-TryBot: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>path/filepath: fix typo in comment</title>
<updated>2016-07-07T02:59:09Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2016-07-07T00:14:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=df7c159f06ab6d6c7ac6c953e491f8900f40d282'/>
<id>urn:sha1:df7c159f06ab6d6c7ac6c953e491f8900f40d282</id>
<content type='text'>
Change-Id: I0c76e8deae49c1149647de421503c5175028b948
Reviewed-on: https://go-review.googlesource.com/24781
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
<entry>
<title>path/filepath: document Clean behavior for each function</title>
<updated>2016-07-06T23:22:31Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2016-07-06T20:07:53Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=94477121bd1a758a70393773c6ae40c58c54f005'/>
<id>urn:sha1:94477121bd1a758a70393773c6ae40c58c54f005</id>
<content type='text'>
Document explicitly which functions Clean the result rather than
documenting it in the package comment.

Updates #10122.
Fixes #16111.

Change-Id: Ia589c7ee3936c9a6a758725ac7f143054d53e41e
Reviewed-on: https://go-review.googlesource.com/24747
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
<entry>
<title>cmd/compile, syscall: add //go:uintptrescapes comment, and use it</title>
<updated>2016-07-06T20:48:41Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2016-06-28T21:19:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=bbe5da42600d5ab26cd58ffac3d6427994f08fb2'/>
<id>urn:sha1:bbe5da42600d5ab26cd58ffac3d6427994f08fb2</id>
<content type='text'>
This new comment can be used to declare that the uintptr arguments to a
function may be converted from pointers, and that those pointers should
be considered to escape. This is used for the Call methods in
dll_windows.go that take uintptr arguments, because they call Syscall.

We can't treat these functions as we do syscall.Syscall, because unlike
Syscall they may cause the stack to grow. For Syscall we can assume that
stack arguments can remain on the stack, but for these functions we need
them to escape.

Fixes #16035.

Change-Id: Ia0e5b4068c04f8d303d95ab9ea394939f1f57454
Reviewed-on: https://go-review.googlesource.com/24551
Reviewed-by: David Chase &lt;drchase@google.com&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>encoding/xml: update docs to follow convention</title>
<updated>2016-07-06T17:19:45Z</updated>
<author>
<name>Sam Whited</name>
<email>sam@samwhited.com</email>
</author>
<published>2016-07-06T01:06:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=820e30f5b0289d5df22ab604f2d831470f748dca'/>
<id>urn:sha1:820e30f5b0289d5df22ab604f2d831470f748dca</id>
<content type='text'>
Fixes #8833

Change-Id: I4523a1de112ed02371504e27882659bce8028a45
Reviewed-on: https://go-review.googlesource.com/24745
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
Run-TryBot: Ian Lance Taylor &lt;iant@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>encoding/gob: document Encode, EncodeValue nil pointer panics</title>
<updated>2016-07-05T06:36:21Z</updated>
<author>
<name>Emmanuel Odeke</name>
<email>emm.odeke@gmail.com</email>
</author>
<published>2016-07-03T21:57:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=5a9d5c37479231336efef0e0fa5b75645aa1c569'/>
<id>urn:sha1:5a9d5c37479231336efef0e0fa5b75645aa1c569</id>
<content type='text'>
Fixes #16258.

Docs for Encode and EncodeValue do not mention that
nil pointers are not permitted hence we panic,
because Gobs encode values yet nil pointers have no value
to encode. It moves a comment that was internal to EncodeValue
to the top level to make it clearer to users what to expect
when they pass in nil pointers.
Supplements test TestTopLevelNilPointer.

Change-Id: Ie54f609fde4b791605960e088456047eb9aa8738
Reviewed-on: https://go-review.googlesource.com/24740
Reviewed-by: Andrew Gerrand &lt;adg@golang.org&gt;
Run-TryBot: Andrew Gerrand &lt;adg@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</content>
</entry>
</feed>
