public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
To: cygwin@cygwin.com
Subject: Re: Oddity with cygport, debuginfo generation, and rxvt-unicode
Date: Wed, 22 Aug 2012 11:15:00 -0000	[thread overview]
Message-ID: <503454B1.2050709@cwilson.fastmail.fm> (raw)
In-Reply-To: <5033F431.5040402@users.sourceforge.net>

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

  reply	other threads:[~2012-08-22  3:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-21 18:02 Charles Wilson
2012-08-22  0:13 ` Yaakov (Cygwin/X)
2012-08-22 11:15   ` Charles Wilson [this message]
2012-08-22 19:10     ` Earnie Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=503454B1.2050709@cwilson.fastmail.fm \
    --to=cygwin@cwilson.fastmail.fm \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).