This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Oddity with cygport, debuginfo generation, and rxvt-unicode


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]