diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2018-09-12 21:30:09 +0200 |
|---|---|---|
| committer | Tobias Klauser <tobias.klauser@gmail.com> | 2018-09-13 09:52:57 +0000 |
| commit | a2a3dd00c934fa15ad880ee5fe1f64308cbc73a7 (patch) | |
| tree | 7bf6c1addea8685e3cb2d0f03e6d2ec9bc4f2ceb /test/codegen/math.go | |
| parent | 1b9374450bbf3372f18915deb58ed11a072eef4a (diff) | |
| download | go-a2a3dd00c934fa15ad880ee5fe1f64308cbc73a7.tar.xz | |
os: add ModeCharDevice to ModeType
When masking FileInfo.Mode() from a character device with the ModeType
mask, ModeCharDevice cannot be recovered.
ModeCharDevice was added https://golang.org/cl/5531052, but nothing
indicates why it was omitted from ModeType. Add it now.
Fixes #27640
Change-Id: I52f56108b88b1b0a5bc6085c66c3c67e10600619
Reviewed-on: https://go-review.googlesource.com/135075
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'test/codegen/math.go')
0 files changed, 0 insertions, 0 deletions
