From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Sixt Subject: Re: [PATCH 2/2] spawn pager via run_command interface Date: Tue, 22 Jul 2008 10:29:11 +0200 Message-ID: <48859A57.9090302@viscovery.net> References: <20080722044157.GA20787@sigill.intra.peff.net> <20080722053921.GA4983@glandium.org> <20080722060643.GA25023@sigill.intra.peff.net> <20080722061807.GA6714@glandium.org> <20080722064603.GA25221@sigill.intra.peff.net> <20080722071009.GA3610@sigill.intra.peff.net> <20080722071246.GA3584@sigill.intra.peff.net> <20080722071411.GB3584@sigill.intra.peff.net> <20080722071630.GA3669@sigill.intra.peff.net> <488590B9.1080804@viscovery.net> <20080722075035.GC3999@sigill.intra.peff.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Mike Hommey , Junio C Hamano , git@vger.kernel.org, David Bremner To: Jeff King X-From: git-owner@vger.kernel.org Tue Jul 22 10:30:19 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1KLDGB-00033f-Kq for gcvg-git-2@gmane.org; Tue, 22 Jul 2008 10:30:16 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752073AbYGVI3Q (ORCPT ); Tue, 22 Jul 2008 04:29:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751669AbYGVI3P (ORCPT ); Tue, 22 Jul 2008 04:29:15 -0400 Received: from lilzmailso01.liwest.at ([212.33.55.23]:25515 "EHLO lilzmailso01.liwest.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751557AbYGVI3P (ORCPT ); Tue, 22 Jul 2008 04:29:15 -0400 Received: from cm56-163-160.liwest.at ([86.56.163.160] helo=linz.eudaptics.com) by lilzmailso01.liwest.at with esmtpa (Exim 4.66) (envelope-from ) id 1KLDFA-0005Lo-Ah; Tue, 22 Jul 2008 10:29:12 +0200 Received: from [127.0.0.1] (J6T.linz.viscovery [192.168.1.42]) by linz.eudaptics.com (Postfix) with ESMTP id 13BC56D9; Tue, 22 Jul 2008 10:29:12 +0200 (CEST) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <20080722075035.GC3999@sigill.intra.peff.net> X-Spam-Score: 1.2 (+) X-Spam-Report: ALL_TRUSTED=-1.8, BAYES_95=3 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Jeff King schrieb: > On Tue, Jul 22, 2008 at 09:48:09AM +0200, Johannes Sixt wrote: > >> BTW, you could remove the #ifndef __MINGW32__ around both the definition >> and the use of pager_preexec. We have everything on mingw to compile and >> link this function. > > Ah, OK. I left it around the function because I was worried about fd_set > needing some magic for compilation. I do not expect you to know the intricacies of the mingw port. Hence, staying on the safe side, like you did, is of course highly appreciated. > However, it still won't be _used_ on Windows, because there is no > opportunity to use the pre-exec callback (it is silently ignored). That's fine. -- Hannes