From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Duft Subject: Re: [PATCH 2/2] Include unistd.h. Date: Wed, 15 Jun 2011 11:31:57 +0200 Message-ID: <4DF87C0D.3050108@gentoo.org> References: <1306332924-28587-1-git-send-email-mduft@gentoo.org> <1306332924-28587-3-git-send-email-mduft@gentoo.org> <20110526022045.GA8172@elie> <7vhb8hzcm8.fsf@alter.siamese.dyndns.org> <20110526163921.GD24931@elie> <4DE33E55.6090505@gentoo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Junio C Hamano , git@vger.kernel.org, Tor Arntsen , Erik Faye-Lund To: Jonathan Nieder X-From: git-owner@vger.kernel.org Wed Jun 15 11:29:32 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QWmPi-0002Hb-QY for gcvg-git-2@lo.gmane.org; Wed, 15 Jun 2011 11:29:31 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754575Ab1FOJ3Z (ORCPT ); Wed, 15 Jun 2011 05:29:25 -0400 Received: from smtp.salomon.at ([193.186.16.13]:62169 "EHLO sauxb.salomon.at" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754030Ab1FOJ3Y (ORCPT ); Wed, 15 Jun 2011 05:29:24 -0400 Received: from servex01.wamas.com (servex01.salomon.at [172.28.2.2]) by sauxb.salomon.at (8.12.10/8.12.10) with ESMTP id p5F9T0JR024451; Wed, 15 Jun 2011 11:29:00 +0200 (METDST) Received: from [172.28.8.166] ([172.28.8.166]) by servex01.wamas.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 15 Jun 2011 11:29:00 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110506 Lightning/1.0b3pre Thunderbird/3.1.10 In-Reply-To: <4DE33E55.6090505@gentoo.org> X-OriginalArrivalTime: 15 Jun 2011 09:29:00.0399 (UTC) FILETIME=[A8A0F7F0:01CC2B3E] X-Scanned-By: MIMEDefang 2.54 on 172.28.2.13 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On 05/30/11 08:51, Markus Duft wrote: > On 05/26/11 18:39, Jonathan Nieder wrote: >> Junio C Hamano wrote: >> >>> --- a/compat/fnmatch/fnmatch.c >>> +++ b/compat/fnmatch/fnmatch.c >>> @@ -127,6 +127,10 @@ extern char *getenv (); >>> extern int errno; >>> # endif >>> + >>> +# ifndef NULL >>> +# define NULL 0 >>> +# endif >> >> Makes a lot of sense. This fits well with the style of the rest of >> the file and other projects using glibc fnmatch could reuse the fix >> even if targeting ancient platforms. > > I tested, and it works well on interix. Will you commit, or should i prepare a patch? ping... is this one ok now? about the other patch (1/2), i'm sorry that i messed up the thread a little... my last response was at [1]. could you take a look at it and tell me whether the patch is ok as is? [1] http://news.gmane.org/find-root.php?message_id=%3c4DDF4440.4040405%40gentoo.org%3e thanks, markus > > Thanks > Markus