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

2025-06-16 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 Sam James changed: What|Removed |Added See Also||https://sourceware.org/bugz

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

2021-05-10 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #31 from Eli Zaretskii --- Reverting the change in `quot` is IMO a mistake, I will respond in PR 27594 with the details. -- You are receiving this mail because: You are on the CC list for the bug.

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

2021-05-10 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #30 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=749c700282097cf679ff019a9674d7c762f48619 commit 749c700282097cf679ff019a967

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

2021-04-25 Thread tonyt at logyst dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 Tony Theodore changed: What|Removed |Added CC||tonyt at logyst dot com --- Comment #2

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

2021-04-04 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #28 from Eli Zaretskii --- FTR: I didn't use a junction to reproduce the problem, I actually created a directory with a space and copied there the MinGW installation. So maybe the problem is somehow related to resolving links and j

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

2021-04-04 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #27 from Eli Zaretskii --- First, this is unrelated to the original issue. Second, I cannot reproduce this with windres 2.36 that I built myself (which is the stock 2.36 version with the patch for 'quot' discussed in this bug repor

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

2021-04-04 Thread david.macek.0 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #26 from David Macek --- Sorry for the confusion, I stand corrected. I assumed the presented inconsistency, although in an incorrect usage, would translate into an inconsistency with correct usage. I tried directing windres to som

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

2021-04-04 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #25 from Eli Zaretskii --- Thanks, but this is incorrect usage: --preprocessor= doesn't support command-line arguments. The command-line arguments should be passed via --preprocessor-arg=. -- You are receiving this mail because:

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

2021-04-04 Thread david.macek.0 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #24 from David Macek --- Here you go. Can you confirm this behavior? $ cat a.rc 1 VERSIONINFO FILEVERSION 1,0,0,0 BEGIN END $ ls a.res ls: a.res: No such file or directory $ windres -o a.res a.rc "--preprocessor=gcc -E -xc"

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

2021-04-02 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #23 from Eli Zaretskii --- If you can show an example of a windres command that works without temp files but fails with them (or the other way around), I will try to take a look. But please show an example that doesn't involve any

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

2021-04-02 Thread david.macek.0 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #22 from David Macek --- I guess I'm confused as well. The specific comment I linked said: > We should probably use --preprocessor-arg instead to pass arguments. Until we realized that, there were discussions on how to patch wind

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

2021-04-01 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #21 from Eli Zaretskii --- Oops, you are right. Sorry for misreading the code. Then I guess I'm back where I started: I don't understand the cause of the problem. The original issue seems to involve Python, maybe it's related. -

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

2021-04-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #20 from Nick Clifton --- (In reply to Eli Zaretskii from comment #19) Hi Eli, > So I think removing the fnquotes thingy from 'read_rc_file' should fix the > problem. Please test. But... the fnquotes thingy is used to quote the f

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

2021-04-01 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #19 from Eli Zaretskii --- 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 argum

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

2021-04-01 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #18 from Eli Zaretskii --- I don't think I understand the problem being reported by David Macek. First, the fix alluded to there changed how the function 'quot' quotes file names. The problematic use case is with the --preprocessor

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

2021-04-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #17 from Nick Clifton --- Just to be clear, the problem is that windres is trying to run "gcc -E" as if that was the full name of the preprocessor, and not a program name plus argument. This happens because internally windres puts

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

2021-04-01 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 Nick Clifton changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

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

2021-03-28 Thread david.macek.0 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 David Macek changed: What|Removed |Added CC||david.macek.0 at gmail dot com --- Comme

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

2021-01-28 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 Nick Clifton changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

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

2021-01-28 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #13 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cc3edc52747fd8b184ee48f1b0cc1ac0aca7832e commit cc3edc52747fd8b184ee48f1b0c

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

2021-01-26 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 Eli Zaretskii changed: What|Removed |Added Attachment #1730|0 |1 is obsolete|

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

2021-01-26 Thread eliz at gnu dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 Eli Zaretskii changed: What|Removed |Added CC||eliz at gnu dot org --- Comment #11 fr

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

2020-07-22 Thread kai.koehne at qt dot io
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 Kai Koehne changed: What|Removed |Added CC||kai.koehne at qt dot io --- Comment #10 f

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

2016-03-13 Thread gusfl at free dot fr
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 gusfl changed: What|Removed |Added Severity|normal |critical -- You are receiving this mail becau

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

2015-03-15 Thread gusfl at free dot fr
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 gusfl changed: What|Removed |Added Status|REOPENED|WAITING CC|

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

2014-07-06 Thread spring at abma dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #8 from spring at abma dot de --- > "C:\Program Files (x86)\CODEBL~1\MinGW\bin\windres.exe" -O coff > D:/spring/rts/icon.rc > rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/icon.rc.obj Der Befehl "C:\Program" ist entweder fa

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

2014-07-06 Thread spring at abma dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=4356 spring at abma dot de changed: What|Removed |Added CC||spring at abma dot de --- Comme

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

2011-02-28 Thread satt...@mixed-mode.de
http://sourceware.org/bugzilla/show_bug.cgi?id=4356 Hendrik Sattler changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

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

2011-02-28 Thread satt...@mixed-mode.de
http://sourceware.org/bugzilla/show_bug.cgi?id=4356 --- Comment #5 from Hendrik Sattler 2011-03-01 07:56:18 UTC --- The fix is equally simple, though, this time in windres.c: -I%s -> -I\"%s\" -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- You are receivin

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

2011-02-28 Thread denpashogai at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4356 Oisín changed: What|Removed |Added CC||denpashogai at gmail dot |

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

2007-06-06 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2007-06-06 08:07 --- Hi Hendrik, This problem should now be resolved. A recent patch to resrc.c should ensure that all special case filenames are quoted when they are used on generated command lines. Cheers Nick --

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

2007-04-20 Thread sattler at mixed-mode dot de
--- Additional Comments From sattler at mixed-mode dot de 2007-04-20 16:31 --- Created an attachment (id=1730) --> (http://sourceware.org/bugzilla/attachment.cgi?id=1730&action=view) Put filenames from command line in quotes to handle spaces correctly > Please could you provide an exam

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

2007-04-20 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2007-04-20 14:24 --- Subject: Re: New: windres fails on files with spaces Hi HS, > This does not seem to be fixed in latest CVS because the error is most > obviously in binutils/resrc.c (and similar) in function read_rc_file() and