]> Cypherpunks repositories - gostls13.git/commitdiff
api: add exception for os.ModeType value
authorJoe Tsai <joetsai@digital-static.net>
Fri, 30 Mar 2018 01:48:33 +0000 (18:48 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 30 Mar 2018 03:31:14 +0000 (03:31 +0000)
The ModeType constant is a bit-wise OR of several other values.
It is reasonable for this to change without breaking compatibility.

This fixes the failures introduced by https://golang.org/cl/103597

Change-Id: I817e351cf3d1e0115dce665c8efbce21bc36426c
Reviewed-on: https://go-review.googlesource.com/103616
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
api/except.txt

index ea4fa0eb9db2d9b20fbb8e09cd22b35dbcbfb102..b3429fe768aa2efc426a5541a27f656e2d9ca379 100644 (file)
@@ -2,6 +2,7 @@ pkg encoding/json, method (*RawMessage) MarshalJSON() ([]uint8, error)
 pkg math/big, const MaxBase = 36
 pkg math/big, type Word uintptr
 pkg net, func ListenUnixgram(string, *UnixAddr) (*UDPConn, error)
+pkg os, const ModeType = 2399141888
 pkg os (linux-arm), const O_SYNC = 4096
 pkg os (linux-arm-cgo), const O_SYNC = 4096
 pkg syscall (darwin-386), const ImplementsGetwd = false