From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: VC and too long command lines Date: Sat, 23 Jul 2011 06:36:40 -0400 Message-ID: References: <4E2821C0.5090409@dogan.se> <4E2834B1.9060508@dogan.se> <83hb6fva64.fsf@gnu.org> <87mxg6jbkx.fsf@spindle.srvr.nix> <837h79eatl.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: dough.gmane.org 1311417411 24648 80.91.229.12 (23 Jul 2011 10:36:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Jul 2011 10:36:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 23 12:36:47 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QkZZe-0002lN-Vy for ged-emacs-devel@m.gmane.org; Sat, 23 Jul 2011 12:36:47 +0200 Original-Received: from localhost ([::1]:43508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkZZe-00040T-FN for ged-emacs-devel@m.gmane.org; Sat, 23 Jul 2011 06:36:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkZZb-00040N-PS for emacs-devel@gnu.org; Sat, 23 Jul 2011 06:36:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkZZa-0003jb-PJ for emacs-devel@gnu.org; Sat, 23 Jul 2011 06:36:43 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:59034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkZZa-0003jX-Md for emacs-devel@gnu.org; Sat, 23 Jul 2011 06:36:42 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QkZZY-00008I-Um; Sat, 23 Jul 2011 06:36:41 -0400 In-reply-to: <837h79eatl.fsf@gnu.org> (message from Eli Zaretskii on Sat, 23 Jul 2011 10:05:26 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:142228 Archived-At: > There is, but it's time-consuming. Repeatedly retry a longer and longer > harmless command until one fails. (libtool does it.) Obviously, such "way" is inappropriate for a facility that is supposed to run a command of a given size, because the result of that will still be a failure. It would be possible to test this in advance in the build process, and record the answer. If all the systems that the same binary, or same package, will get installed on will have the same limit, then that will be reliable. Even if they don't all have the same limit, this approach may be less unreliable than the present code. However, it might be better to make a conservative assumption about how big the command line can be, and always keep generated commands under that size. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use free telephony http://directory.fsf.org/category/tel/