From: Joe Tsai Date: Fri, 30 Mar 2018 01:48:33 +0000 (-0700) Subject: api: add exception for os.ModeType value X-Git-Tag: go1.11beta1~1039 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5cf3b523080ea35a5148c3dc6c8a701305f1f875;p=gostls13.git api: add exception for os.ModeType value 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 TryBot-Result: Gobot Gobot Reviewed-by: Josh Bleecher Snyder Reviewed-by: Brad Fitzpatrick --- diff --git a/api/except.txt b/api/except.txt index ea4fa0eb9d..b3429fe768 100644 --- a/api/except.txt +++ b/api/except.txt @@ -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