bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/4356] windres fails on files with spaces


From: eliz at gnu dot org
Subject: [Bug binutils/4356] windres fails on files with spaces
Date: Thu, 01 Apr 2021 15:12:26 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=4356

--- Comment #19 from Eli Zaretskii <eliz at gnu dot org> ---
Looking at the linked Huskell issue, I think the problem is not with the
--preprocessor= option, it is with --preprocessor-arg= option, where 'quot' IS
used.

The problem is that windres.c quotes the argument if it has whitespace, but
then 'read_rc_file' quotes it again.  This double quoting is what causes the
problem.  The problem was exposed by the fix in 'quot': previously it basically
didn't quote the argument, so the extra quoting in 'read_rc_file' didn't do any
harm.

So I think removing the fnquotes thingy from 'read_rc_file' should fix the
problem.  Please test.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]