--- /dev/null
+Return-Path: <laochailan@web.de>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 095EA6DE17A6\r
+ for <notmuch@notmuchmail.org>; Sun, 31 May 2015 05:07:56 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.57\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.57 tagged_above=-999 required=5\r
+ tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001,\r
+ RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,\r
+ RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id 5gPPibarjIrX for <notmuch@notmuchmail.org>;\r
+ Sun, 31 May 2015 05:07:54 -0700 (PDT)\r
+Received: from mout.web.de (mout.web.de [212.227.15.4])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 1F7726DE179E\r
+ for <notmuch@notmuchmail.org>; Sun, 31 May 2015 05:07:54 -0700 (PDT)\r
+Received: from localhost ([92.204.48.23]) by smtp.web.de (mrweb001) with\r
+ ESMTPSA (Nemesis) id 0MIvJx-1Yx6902rY9-002XkA; Sun, 31 May 2015 14:02:47\r
+ +0200\r
+From: laochailan <laochailan@web.de>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 2/5] fixed wrong constant values\r
+Date: Sun, 31 May 2015 14:02:12 +0200\r
+Message-Id: <1433073735-7721-3-git-send-email-laochailan@web.de>\r
+X-Mailer: git-send-email 2.4.2\r
+In-Reply-To: <1433073735-7721-1-git-send-email-laochailan@web.de>\r
+References: <1433073735-7721-1-git-send-email-laochailan@web.de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oDdQubug==\r
+X-Mailman-Approved-At: Mon, 01 Jun 2015 09:14:43 -0700\r
+Cc: laochailan <laochailan@web.de>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 31 May 2015 12:07:56 -0000\r
+\r
+before, they were both zero, so getting a read-writeable handle was\r
+impossible.\r
+---\r
+ bindings/go/src/notmuch/notmuch.go | 2 +-\r
+ 1 file changed, 1 insertion(+), 1 deletion(-)\r
+\r
+diff --git a/bindings/go/src/notmuch/notmuch.go b/bindings/go/src/notmuch/notmuch.go\r
+index a0b901f..bffc120 100644\r
+--- a/bindings/go/src/notmuch/notmuch.go\r
++++ b/bindings/go/src/notmuch/notmuch.go\r
+@@ -86,7 +86,7 @@ type Filenames struct {\r
+ type DatabaseMode C.notmuch_database_mode_t\r
+ \r
+ const (\r
+- DATABASE_MODE_READ_ONLY DatabaseMode = 0\r
++ DATABASE_MODE_READ_ONLY DatabaseMode = iota\r
+ DATABASE_MODE_READ_WRITE\r
+ )\r
+ \r
+-- \r
+2.4.2\r
+\r