From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#21602: 25.0.50; coding system seg fault Date: Sat, 03 Oct 2015 14:50:18 +0200 Message-ID: <87mvw09kvp.fsf@igel.home> References: <83vbap7nv6.fsf@gnu.org> <83fv1s448p.fsf@gnu.org> <878u7kb34s.fsf@igel.home> <83bncg41c4.fsf@gnu.org> <87zj009mj0.fsf@igel.home> <834mi83yz0.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1443876686 13420 80.91.229.3 (3 Oct 2015 12:51:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Oct 2015 12:51:26 +0000 (UTC) Cc: rms@gnu.org, 21602@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 03 14:51:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZiMHO-0007IM-Mu for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Oct 2015 14:51:10 +0200 Original-Received: from localhost ([::1]:38303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiMHN-0004aI-OR for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Oct 2015 08:51:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiMHK-0004a8-HL for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2015 08:51:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZiMHG-0001QK-Gh for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2015 08:51:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiMHG-0001QA-DB for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2015 08:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZiMHG-0001ay-8D for bug-gnu-emacs@gnu.org; Sat, 03 Oct 2015 08:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Oct 2015 12:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21602 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 21602-submit@debbugs.gnu.org id=B21602.14438766236089 (code B ref 21602); Sat, 03 Oct 2015 12:51:02 +0000 Original-Received: (at 21602) by debbugs.gnu.org; 3 Oct 2015 12:50:23 +0000 Original-Received: from localhost ([127.0.0.1]:52925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZiMGc-0001a9-Rs for submit@debbugs.gnu.org; Sat, 03 Oct 2015 08:50:23 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:43483) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZiMGa-0001a1-EU for 21602@debbugs.gnu.org; Sat, 03 Oct 2015 08:50:20 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3nSp236jhJz3hjVr; Sat, 3 Oct 2015 14:50:19 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3nSp2365Jwzvh23; Sat, 3 Oct 2015 14:50:19 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id Faf8HuhTWn7V; Sat, 3 Oct 2015 14:50:18 +0200 (CEST) X-Auth-Info: Ejo7umldjumnOn7bACLGIv8Yc9Pmf4W0o0uoRjzqFh//cz5t5UWFIE8Wp0JXpwSD Original-Received: from igel.home (ppp-93-104-63-53.dynamic.mnet-online.de [93.104.63.53]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 3 Oct 2015 14:50:18 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 969042C3E4A; Sat, 3 Oct 2015 14:50:18 +0200 (CEST) X-Yow: I'm ZIPPY the PINHEAD and I'm totally committed to the festive mode. In-Reply-To: <834mi83yz0.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 03 Oct 2015 15:42:27 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107265 Archived-At: Eli Zaretskii writes: > I added the checks in coding_inherit_eol_type, but I think it's better > to keep the ones we already have. In general, the sooner we detect > invalid arguments the better, especially when we are using a large > number of defaults of of many kinds, something the user might not be > aware of. It doesn't make any sense to check both in the caller and the callee. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."