From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Voigt Subject: Re: Re: [PATCH v3 3/8] mingw: make failures to unlink or move raise a question Date: Wed, 15 Dec 2010 08:28:04 +0100 Message-ID: <20101215072803.GA14646@book.hvoigt.net> References: <20101214220604.GA4084@sandbox> <20101214222122.GD4084@sandbox> <7v1v5jrb1f.fsf@alter.siamese.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Johannes Schindelin , Erik Faye-Lund , Johannes Sixt , Pat Thoyts , msysgit@googlegroups.com, git@vger.kernel.org, Albert Dvornik To: Junio C Hamano X-From: git-owner@vger.kernel.org Wed Dec 15 08:28:14 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 1PSlmX-0006nH-Jk for gcvg-git-2@lo.gmane.org; Wed, 15 Dec 2010 08:28:13 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753496Ab0LOH2H (ORCPT ); Wed, 15 Dec 2010 02:28:07 -0500 Received: from darksea.de ([83.133.111.250]:60416 "HELO darksea.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752380Ab0LOH2G (ORCPT ); Wed, 15 Dec 2010 02:28:06 -0500 Received: (qmail 25969 invoked from network); 15 Dec 2010 08:28:03 +0100 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 15 Dec 2010 08:28:03 +0100 Content-Disposition: inline In-Reply-To: <7v1v5jrb1f.fsf@alter.siamese.dyndns.org> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Tue, Dec 14, 2010 at 07:05:00PM -0800, Junio C Hamano wrote: > Johannes Schindelin writes: > > >> > @@ -129,6 +130,78 @@ static inline int is_file_in_use_error(DWORD errcode) > >> > return 0; > >> > } > >> > > >> > +static int read_yes_no_answer() > >> > >> Perhaps "static int read_yes_no_answer(void)" for portability? > > > > LOL. This file is called compat/mingw.c... :-) > > I had the same reaction. Maybe MinGW will get a different compiler > someday ;-) > > > But I have no objection to stay with the convention of the rest of Git. > > Nobody needs to convince me that consistency is good. > > I recall there are a few old-style declaration in compat/ directory, > especially in borrowed code like nedmalloc/ and possibly regex/, and > I am not so sure if we want to touch them. > > I'll leave this up to msysgit folks. I do not mind changing this sincce I need to change this patch anyway. Will do in the next iteration. Cheers Heiko