Oddity with cygport, debuginfo generation, and rxvt-unicode

Charles Wilson cygwin@cwilson.fastmail.fm
Wed Aug 22 11:15:00 GMT 2012


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



More information about the Cygwin mailing list