]> Cypherpunks repositories - gostls13.git/commit
os: touch up the EINTR retry loop in OpenFile
authorAaron Jacobs <jacobsa@google.com>
Thu, 17 Sep 2015 06:28:15 +0000 (16:28 +1000)
committerRob Pike <r@golang.org>
Thu, 17 Sep 2015 14:49:30 +0000 (14:49 +0000)
commite7e27398498b1d91458ed24cbffcb19111fe5941
tree2706ecca584203a9d77f6fc695cbc56c44f17c90
parent001a75a74c4a27901b0b536efe1be581612c52a9
os: touch up the EINTR retry loop in OpenFile

In particular, don't use goto and do restrict the behavior to darwin.
This addresses comments from http://golang.org/cl/14484.

Change-Id: I5b99e1762d1c5b27fdd12b72a5c6d981f6a92f0f
Reviewed-on: https://go-review.googlesource.com/14673
Reviewed-by: Rob Pike <r@golang.org>
src/os/file_unix.go