GNU bug report logs -
#39767
[PATCH core-updates] gnu: ld-wrapper: Preserve quoted arguments from response files.
Previous Next
Reported by: Marius Bakke <mbakke <at> fastmail.com>
Date: Mon, 24 Feb 2020 16:02:01 UTC
Severity: normal
Tags: patch
Done: Marius Bakke <mbakke <at> fastmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:
> Hi Marius!
>
> Marius Bakke <mbakke <at> fastmail.com> skribis:
>
>> * gnu/packages/ld-wrapper.in (expand-arguments): Add TOKENIZE procedure, and
>> use that to parse the response file.
>
> LGTM!
>
>> Currently the ld-wrapper will fail inscrutably if a response file
>> contains double quotes. This patch fixes that, and also preserves
>> whitespaces between quotes.
>
> Out of curiosity, where did you stumble upon response files with quotes?
> Was it GHC?
A variant of this wrapper will (hopefully!) soon show up on the 'master'
branch, required for version 80 of ungoogled-chromium. It generates
response files where all "-lfoo" "-lbar" arguments are quoted, even
though they contain no spaces.
Thanks for the quick review, will merge it on core-updates after it hits
'master'. :-)
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 5 years and 73 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.