From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: Error processing some command line arguments Date: Fri, 07 Jun 2002 16:30:07 +0300 Sender: emacs-devel-admin@gnu.org Message-ID: <2427-Fri07Jun2002163007+0300-eliz@is.elta.co.il> References: <20020606154645.00CB.LEKTU@terra.es> <7263-Thu06Jun2002180219+0300-eliz@is.elta.co.il> <20020606183231.E3D9.LEKTU@terra.es> Reply-To: Eli Zaretskii NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1023456838 13965 127.0.0.1 (7 Jun 2002 13:33:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 7 Jun 2002 13:33:58 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17GJsM-0003d8-00 for ; Fri, 07 Jun 2002 15:33:58 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17GKDl-0003Y7-00 for ; Fri, 07 Jun 2002 15:56:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17GJrY-0003jC-00; Fri, 07 Jun 2002 09:33:08 -0400 Original-Received: from frigg.inter.net.il ([192.114.186.16]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17GJqM-0003U3-00 for ; Fri, 07 Jun 2002 09:31:54 -0400 Original-Received: from Zaretsky ([80.230.2.40]) by frigg.inter.net.il (Mirapoint Messaging Server MOS 3.1.0.58-GA) with ESMTP id BME87948; Fri, 7 Jun 2002 16:31:33 +0300 (IDT) Original-To: lektu@terra.es X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-Reply-To: <20020606183231.E3D9.LEKTU@terra.es> (message from Juanma Barranquero on Thu, 06 Jun 2002 18:33:09 +0200) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4630 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4630 > Date: Thu, 06 Jun 2002 18:33:09 +0200 > From: Juanma Barranquero > > Debugging the issue I saw that in the call to sort_args (in emacs.c), > near the end, the arg is consumed till the following line is executed: > > bcopy (new, argv, sizeof (char *) * argc); > > And then it "reappears". But I'm not sure how to debug that. Does it help to replace `bcopy' with `memmove' (after a suitable change in the argument list)?