From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Sixt Subject: Re: Funny: git -p submodule summary Date: Mon, 12 Jan 2009 13:19:10 +0100 Message-ID: <496B353E.5070701@viscovery.net> References: <20090109083836.GB21389@coredump.intra.peff.net> <20090109092250.GA1809@coredump.intra.peff.net> <49672244.80200@viscovery.net> <20090109101335.GA4346@coredump.intra.peff.net> <496728B9.7090200@viscovery.net> <20090111112222.GA29656@coredump.intra.peff.net> <496B2278.9050905@viscovery.net> <20090112112109.GA3825@coredump.intra.peff.net> <496B30C5.2060207@viscovery.net> <20090112120345.GA12087@coredump.intra.peff.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Junio C Hamano , Johannes Schindelin , git@vger.kernel.org To: Jeff King X-From: git-owner@vger.kernel.org Mon Jan 12 13:20:38 2009 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 1LMLmX-0006zg-Ip for gcvg-git-2@gmane.org; Mon, 12 Jan 2009 13:20:38 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752150AbZALMTO (ORCPT ); Mon, 12 Jan 2009 07:19:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752127AbZALMTN (ORCPT ); Mon, 12 Jan 2009 07:19:13 -0500 Received: from lilzmailso02.liwest.at ([212.33.55.13]:9614 "EHLO lilzmailso02.liwest.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751588AbZALMTN (ORCPT ); Mon, 12 Jan 2009 07:19:13 -0500 Received: from cm56-163-160.liwest.at ([86.56.163.160] helo=linz.eudaptics.com) by lilzmailso02.liwest.at with esmtpa (Exim 4.69) (envelope-from ) id 1LMLl7-00075q-T9; Mon, 12 Jan 2009 13:19:10 +0100 Received: from [127.0.0.1] (J6T.linz.viscovery [192.168.1.96]) by linz.eudaptics.com (Postfix) with ESMTP id 63AF369F; Mon, 12 Jan 2009 13:19:08 +0100 (CET) User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) In-Reply-To: <20090112120345.GA12087@coredump.intra.peff.net> X-Enigmail-Version: 0.95.5 X-Spam-Score: -1.4 (-) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Jeff King schrieb: > On Mon, Jan 12, 2009 at 01:00:05PM +0100, Johannes Sixt wrote: > >> Good question. The exit code is 0xc000013a if the signal was generated by >> hitting Ctrl-C (tested with 'git --no-pager log'), but it is 3 if the >> signal was "generated" by 'raise(SIGINT)'. The implementation of the >> latter just calls _exit(3) (same for other deadly signals). Wow! > > Eh? So it doesn't even run the signal handlers? Or if it is SIG_DFL > (i.e., we have already run all the handlers), then it just calls _exit? It's silly, but not *that* silly: It calls _exit(3) only if the handler is SIG_DFL. -- Hannes