Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 7A261429E30 for ; Mon, 20 May 2013 05:26:12 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wvzarEuILBmh for ; Mon, 20 May 2013 05:26:06 -0700 (PDT) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id E605D431FBD for ; Mon, 20 May 2013 05:26:05 -0700 (PDT) Received: by mail-ob0-f182.google.com with SMTP id va2so6918766obc.27 for ; Mon, 20 May 2013 05:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=Vjbhatu2WaD0Cx/rgyYIu3CGd2eJdyD90xsZ6xONKng=; b=TLYQATsqvnndy+4RRzSc1rCh8eF9R+J8wp3WnHfAERwYAUobFHnKnQMihddJ6vIQUl 49nAOaRehvJZnY6hVWX1CP9Bxn0yjRkUoiOiBIgF2caTRXcahMpKRhCTHYVHnbY5KulY V5Gsx2+kiyk+RI6vresXDejKi2nAJco9EYmsAT4KKbKTUJlNBGYLuJfwaBfA+aTWdOZa VVmaAnoT4bOt+pYac/b6oYQrYfRKeVjIUvK64R5qkDKpouK/3gsVlT+FqLqCoGhkMBE/ 0fd/AgLqCbgLj3EVL6Llfou750Ndy4eP9/pT8Bcg7MagWRi2cL8fmQkgs+ZSnlWTIW8i I1Fw== X-Received: by 10.182.129.101 with SMTP id nv5mr26285821obb.56.1369052763517; Mon, 20 May 2013 05:26:03 -0700 (PDT) Received: from localhost (187-163-100-70.static.axtel.net. [187.163.100.70]) by mx.google.com with ESMTPSA id n6sm20606995oel.8.2013.05.20.05.26.01 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 20 May 2013 05:26:02 -0700 (PDT) From: Felipe Contreras To: notmuch@notmuchmail.org Subject: [PATCH 2/2] ruby: fix missing symbol UINT2FIX() Date: Mon, 20 May 2013 07:24:24 -0500 Message-Id: <1369052664-17869-3-git-send-email-felipe.contreras@gmail.com> X-Mailer: git-send-email 1.8.3.rc3.286.g3d43083 In-Reply-To: <1369052664-17869-1-git-send-email-felipe.contreras@gmail.com> References: <1369052664-17869-1-git-send-email-felipe.contreras@gmail.com> Cc: Ali Polatel X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 12:26:12 -0000 It has never existed in Ruby (maybe JRuby). Fortunately the symbols are loaded lazily, so nobody would notice unless they try 'query::count_messages'. Signed-off-by: Felipe Contreras --- bindings/ruby/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/ruby/query.c b/bindings/ruby/query.c index e5ba1b7..1658ede 100644 --- a/bindings/ruby/query.c +++ b/bindings/ruby/query.c @@ -180,5 +180,5 @@ notmuch_rb_query_count_messages (VALUE self) * (function may return 0 after printing a message) * Thus there is nothing we can do here... */ - return UINT2FIX(notmuch_query_count_messages(query)); + return UINT2NUM(notmuch_query_count_messages(query)); } -- 1.8.3.rc3.286.g3d43083