aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/exec_linux_test.go
diff options
context:
space:
mode:
authorAaron Jacobs <jacobsa@google.com>2015-07-24 14:21:11 +1000
committerBrad Fitzpatrick <bradfitz@golang.org>2015-08-31 04:42:04 +0000
commit019297a9aa63fc1ee016e0ff4f4d86e8dc578541 (patch)
tree3871f0cd1ce7d9de239fc919c08a849ca1a93cd7 /src/syscall/exec_linux_test.go
parent3c9fa388df826a67cb5042513e3df079709e6b8b (diff)
downloadgo-019297a9aa63fc1ee016e0ff4f4d86e8dc578541.tar.xz
os: remove a redundant branch in File.Read.
All implementations of File.read ensure that n >= 0. This is usually via fixCount, except for Windows console reads, which only ever add to n. Change-Id: Ic019d6a2da5ef1ac68d2690c908deca4fcc6b4a4 Reviewed-on: https://go-review.googlesource.com/12624 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/syscall/exec_linux_test.go')
0 files changed, 0 insertions, 0 deletions