From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Intervals crash Date: Thu, 23 Sep 2010 20:57:29 +0200 Message-ID: <83bp7ouw2u.fsf@gnu.org> References: <87aan82uar.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1285268263 29416 80.91.229.12 (23 Sep 2010 18:57:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2010 18:57:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 23 20:57:41 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OyqzE-00024w-PU for ged-emacs-devel@m.gmane.org; Thu, 23 Sep 2010 20:57:40 +0200 Original-Received: from localhost ([127.0.0.1]:35330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyqzE-0007lQ-94 for ged-emacs-devel@m.gmane.org; Thu, 23 Sep 2010 14:57:40 -0400 Original-Received: from [140.186.70.92] (port=44309 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oyqz8-0007jK-Ae for emacs-devel@gnu.org; Thu, 23 Sep 2010 14:57:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oyqz6-0007Yi-MO for emacs-devel@gnu.org; Thu, 23 Sep 2010 14:57:34 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:58905) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oyqz6-0007YW-G5 for emacs-devel@gnu.org; Thu, 23 Sep 2010 14:57:32 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L9700900R9CRF00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Thu, 23 Sep 2010 20:57:26 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.203.3]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L97008P1RBOSVD0@a-mtaout22.012.net.il>; Thu, 23 Sep 2010 20:57:26 +0200 (IST) In-reply-to: <87aan82uar.fsf@stupidchicken.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130679 Archived-At: > From: Chong Yidong > Date: Thu, 23 Sep 2010 14:23:24 -0400 > Cc: emacs-devel@gnu.org > > I'm getting a crash due to your recent EMACS_UINT change. Sorry. > The LENGTH macro in intervals.h:114 has to be able to return a negative > number. This is probably worth reverting, until you come up with a > proper fix. I'd rather fix it properly. I replaced all EMACS_UINT with EMACS_INT in intervals.c, it couldn't be worse than int it used before.