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 49A78431FBC for ; Mon, 23 Nov 2009 05:44:04 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 66Fn8nEUPGBZ for ; Mon, 23 Nov 2009 05:44:03 -0800 (PST) Received: from mail-yx0-f204.google.com (mail-yx0-f204.google.com [209.85.210.204]) by olra.theworths.org (Postfix) with ESMTP id 6CA60431FAE for ; Mon, 23 Nov 2009 05:44:03 -0800 (PST) Received: by yxe42 with SMTP id 42so5402599yxe.22 for ; Mon, 23 Nov 2009 05:44:03 -0800 (PST) Received: by 10.150.22.36 with SMTP id 36mr8691463ybv.19.1258983843023; Mon, 23 Nov 2009 05:44:03 -0800 (PST) Received: from lt26923.campus.dmacc.edu ([69.57.47.215]) by mx.google.com with ESMTPS id 14sm2157267gxk.14.2009.11.23.05.43.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 23 Nov 2009 05:43:59 -0800 (PST) Received: from localhost ([127.0.0.1] helo=localhost.localdomain) by lt26923.campus.dmacc.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NCZCr-0007Hp-09 for notmuch@notmuchmail.org; Mon, 23 Nov 2009 07:43:54 -0600 From: "Jeffrey C. Ollie" To: Not Much Mail Date: Mon, 23 Nov 2009 07:43:29 -0600 Message-Id: <1258983810-27522-1-git-send-email-jeff@ocjtech.us> X-Mailer: git-send-email 1.6.5.2 In-Reply-To: <87bpiughr3.fsf@yoom.home.cworth.org> References: <87bpiughr3.fsf@yoom.home.cworth.org> Subject: Re: [notmuch] [PATCH] Mac OS X compatibility fixes X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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, 23 Nov 2009 13:44:04 -0000 Here's a patch that adds private implementations of strndup and getline. They are unconditionally compiled so that compiler errors in these functions can be detected on any platform, even those that provide strndup and getline in the standard library. I'll have a patch that handles the strndup/getline detection later today (I've already done it in SCons, just need to figure out how I want to do it in plain shell for the current configure script).