From mboxrd@z Thu Jan 1 00:00:00 1970 From: Larry D'Anna Subject: Re: [PATCH ld/maint-diff-quiet-w] Windows: redirect fopen("/dev/null") to fopen("nul") Date: Thu, 25 Feb 2010 11:20:32 -0500 Message-ID: <20100225162032.GA3527@cthulhu> References: <4B86399E.3090508@viscovery.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Junio C Hamano , Git Mailing List To: Johannes Sixt X-From: git-owner@vger.kernel.org Thu Feb 25 17:20:52 2010 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 1NkgS7-0004P2-Ae for gcvg-git-2@lo.gmane.org; Thu, 25 Feb 2010 17:20:39 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932846Ab0BYQUe (ORCPT ); Thu, 25 Feb 2010 11:20:34 -0500 Received: from cthulhu.elder-gods.org ([140.239.99.253]:35232 "EHLO cthulhu.elder-gods.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932810Ab0BYQUd (ORCPT ); Thu, 25 Feb 2010 11:20:33 -0500 Received: by cthulhu.elder-gods.org (Postfix, from userid 1000) id 47E3C8221B1; Thu, 25 Feb 2010 11:20:32 -0500 (EST) Content-Disposition: inline In-Reply-To: <4B86399E.3090508@viscovery.net> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: * Johannes Sixt (j.sixt@viscovery.net) [100225 03:49]: > From: Johannes Sixt > > An instance of fopen("/dev/null",...) was added to the code base. On > Windows, we have to use "nul" instead. This implements a compatibility > wrapper of fopen() that checks for this particular condition. Doesn't store_updated_refs do this too? --larry