From 5cf3b523080ea35a5148c3dc6c8a701305f1f875 Mon Sep 17 00:00:00 2001 From: Joe Tsai Date: Thu, 29 Mar 2018 18:48:33 -0700 Subject: [PATCH] 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 --- api/except.txt | 1 + 1 file changed, 1 insertion(+) 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 -- 2.50.0