X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=AWL,BAYES_00,MIME_CHARSET_FARAWAY,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Thu, 14 Jan 2010 15:02:14 +0800 Message-ID: Subject: dumper gen core file with bad file name problem From: Huang Bambo To: The Cygwin Mailing List Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com If there's non-english char in the program start path( /tmp/=D6=D0=CE=C4 ),= the generated core file's name will be wrong like the following: $ pwd /tmp/=D6=D0=CE=C4 [Bambo AT Bambo-PC /tmp/=D6=D0=CE=C4] $ ls foo.c foo.exe foo.exe".core [Bambo AT Bambo-PC /tmp/=D6=D0=CE=C4] the core file comes with a unexpected '"' my CYGWIN environment is: $ env | grep CYG CYGWIN=3Derror_start=3De:\cygwin\bin\dumper.exe -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple