aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/exec_linux.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2016-05-31 11:23:50 -0700
committerIan Lance Taylor <iant@golang.org>2016-05-31 23:45:47 +0000
commit3659645cb1f32d7b1eeefdb65f1339fe54f0f6eb (patch)
tree42100becf762fe9f3905bfcc6d21977f0526be1a /src/syscall/exec_linux.go
parent8003e791549f011edcc2a9d1eacbd5674826d38c (diff)
downloadgo-3659645cb1f32d7b1eeefdb65f1339fe54f0f6eb.tar.xz
flag: recognize "0s" as the zero value for a flag.Duration
Implemented by using a reflect-based approach to recognize the zero value of any non-interface type that implements flag.Value. Interface types will fall back to the old code. Fixes #15904. Change-Id: I594c3bfb30e9ab1aca3e008ef7f70be20aa41a0b Reviewed-on: https://go-review.googlesource.com/23581 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions