From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: size of emacs executable after unicode merge Date: Sat, 29 Nov 2008 10:47:06 +0900 Message-ID: References: <87iqqwk672.fsf@cyd.mit.edu> <873ahym8ji.fsf@cyd.mit.edu> <87r65flh5n.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1227923259 6578 80.91.229.12 (29 Nov 2008 01:47:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2008 01:47:39 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 29 02:48:41 2008 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.50) id 1L6Ewj-00016h-Dm for ged-emacs-devel@m.gmane.org; Sat, 29 Nov 2008 02:48:33 +0100 Original-Received: from localhost ([127.0.0.1]:52376 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6EvZ-0004xz-Gg for ged-emacs-devel@m.gmane.org; Fri, 28 Nov 2008 20:47:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6EvU-0004xa-L1 for emacs-devel@gnu.org; Fri, 28 Nov 2008 20:47:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6EvQ-0004xN-KX for emacs-devel@gnu.org; Fri, 28 Nov 2008 20:47:15 -0500 Original-Received: from [199.232.76.173] (port=34142 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6EvQ-0004xK-FE for emacs-devel@gnu.org; Fri, 28 Nov 2008 20:47:12 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:43880) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L6EvP-00011d-RT for emacs-devel@gnu.org; Fri, 28 Nov 2008 20:47:12 -0500 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id mAT1l6Zq019851; Sat, 29 Nov 2008 10:47:06 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id mAT1l6V0013985; Sat, 29 Nov 2008 10:47:06 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id mAT1l6ae026339; Sat, 29 Nov 2008 10:47:06 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1L6EvK-0003VW-3Y; Sat, 29 Nov 2008 10:47:06 +0900 In-reply-to: (lekktu@gmail.com) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-operating-system: by monty-python.gnu.org: Solaris 9 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:106279 Archived-At: In article , "Juanma Barranquero" writes: > Your big patch of 2008-11-27 has caused a change when decoding some > filenames. I've detected it because I have a fix for bug#1433 that > works before your changes, but does not work afterwards. I've just installed fixes for my silly mistakes. Could you please try again? --- Kenichi Handa handa@ni.aist.go.jp > I'm testing by adding the following line to Fw32_short_file_name: > filename = ENCODE_FILE (filename); > before the call to GetShortPathName. > Before your changes, > 1783 filename = ENCODE_FILE (filename); > (gdb) p filename > $5 = 52759907 > (gdb) xstring > $6 = (struct Lisp_String *) 0x3250d60 > "c:/acci\303\263n/" > (gdb) next > 1786 if (GetShortPathName (SDATA (filename), shortname, MAX_PATH) == 0) > (gdb) p filename > $7 = 52759971 > (gdb) xstring > $8 = (struct Lisp_String *) 0x3250da0 > "c:/acci\363n/" > After your changes, > 1783 filename = ENCODE_FILE (filename); > (gdb) p filename > $5 = 55776275 > (gdb) xstring > $6 = (struct Lisp_String *) 0x3531410 > "c:/acci\303\263n/" > (gdb) next > 1786 if (GetShortPathName (SDATA (filename), shortname, MAX_PATH) == 0) > (gdb) p filename > $7 = 55776339 > (gdb) xstring > $8 = (struct Lisp_String *) 0x3531450 > "c:/acci n/" > Juanma