From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15922 invoked by alias); 22 Aug 2012 03:41:00 -0000 Received: (qmail 15855 invoked by uid 22791); 22 Aug 2012 03:40:59 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,TW_RX,TW_YG X-Spam-Check-By: sourceware.org Received: from out1-smtp.messagingengine.com (HELO out1-smtp.messagingengine.com) (66.111.4.25) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 22 Aug 2012 03:40:44 +0000 Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 19DBE2095A for ; Tue, 21 Aug 2012 23:40:44 -0400 (EDT) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute6.internal (MEProxy); Tue, 21 Aug 2012 23:40:44 -0400 Received: from [192.168.1.3] (unknown [50.88.210.98]) by mail.messagingengine.com (Postfix) with ESMTPA id BB04D4836DA; Tue, 21 Aug 2012 23:40:43 -0400 (EDT) Message-ID: <503454B1.2050709@cwilson.fastmail.fm> Date: Wed, 22 Aug 2012 11:15:00 -0000 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Oddity with cygport, debuginfo generation, and rxvt-unicode References: <5033C360.1060007@cwilson.fastmail.fm> <5033F431.5040402@users.sourceforge.net> In-Reply-To: <5033F431.5040402@users.sourceforge.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-08/txt/msg00514.txt.bz2 On 8/21/2012 4:48 PM, Yaakov (Cygwin/X) wrote: > On 2012-08-21 12:20, Charles Wilson wrote: >> In the meantime, I think a fix like this for cygport would be >> appropriate: > > Could you confirm that just this change fixes this: > > - case $(realpath -m ${dbgsrc}) in > + case $(readlink -m -- "${dbgsrc}") in Yes, that change, by itself, fixes the problem. >> ...although I'm not sure if this might cause a problem if a filename >> actually contains a shell redirection metacharacter (and the originating >> project is always careful to appropriate quote that filename). > > And when was the last time you saw that? Oh, let me think...never. I'm still (re)training people that spaces are evil. Don't even get me started on hashes and shell metas in filenames... -- Chuck -- 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