From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: How many more gnulib imports? Date: Sun, 20 Feb 2011 10:06:03 -0800 Organization: UCLA Computer Science Department Message-ID: <4D61580B.7070101@cs.ucla.edu> References: <4D60F860.6020303@cs.ucla.edu> <4D615390.6020604@cs.ucla.edu> <83lj1atwvt.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1298232248 22310 80.91.229.12 (20 Feb 2011 20:04:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Feb 2011 20:04:08 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 20 21:04:04 2011 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 1PrFVi-0006dh-TQ for ged-emacs-devel@m.gmane.org; Sun, 20 Feb 2011 21:04:03 +0100 Original-Received: from localhost ([127.0.0.1]:53608 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrFOx-0006fj-6s for ged-emacs-devel@m.gmane.org; Sun, 20 Feb 2011 14:57:03 -0500 Original-Received: from [140.186.70.92] (port=32987 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrDfd-0006tr-2d for emacs-devel@gnu.org; Sun, 20 Feb 2011 13:06:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrDfc-0006ik-3N for emacs-devel@gnu.org; Sun, 20 Feb 2011 13:06:08 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:55633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrDfa-0006iC-DR; Sun, 20 Feb 2011 13:06:06 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 5B09339E80E1; Sun, 20 Feb 2011 10:06:04 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KpbQEhF3sItL; Sun, 20 Feb 2011 10:06:04 -0800 (PST) Original-Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id F283A39E80DC; Sun, 20 Feb 2011 10:06:03 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 In-Reply-To: <83lj1atwvt.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 131.179.128.62 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:136291 Archived-At: > Are there any known problems in these that would require them to be > imported? Well, like I said, I haven't had time to survey them, and I can't really answer that without time for analysis, but here are a couple of things off the top of my head. Emacs has several problems internally with integer overflow, such that things will crash when they get too large. The problems are rare now but will become more important as memories get larger. That is why I mentioned xalloc and verify (and regex too for that matter; gnulib regex has several fixes in this area). Emacs and other GNU packages create backup file names, in ways that are supposed to be compatible, but which have diverged with time. They should be compatible, and this may require some changes to gnulib and to Emacs, hopefully all upward-compatible. That is why I mentioned backupfile. (I am not suggesting these changes simply for the fun of it, believe me. :-)