Bug 272966 - allow parsing of options with embedded spaces in ~/.valgrindrc
Summary: allow parsing of options with embedded spaces in ~/.valgrindrc
Status: CONFIRMED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-10 20:17 UTC by Pierre Habouzit
Modified: 2011-10-21 06:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
allow parsing of ' or " quoted strings. (1.50 KB, patch)
2011-05-10 20:17 UTC, Pierre Habouzit
Details
fixed patch (1.51 KB, patch)
2011-05-12 20:18 UTC, Pierre Habouzit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Habouzit 2011-05-10 20:17:38 UTC
Created attachment 59881 [details]
allow parsing of ' or " quoted strings.

for example to specify a --db-command

Attached is a patch (shipped in Debian) that allow to quote strings with simple or double quotes.
Comment 1 Pierre Habouzit 2011-05-12 20:18:00 UTC
Created attachment 59943 [details]
fixed patch

previous patch had a small bug when there was leading spaces involved.
Comment 2 Pierre Habouzit 2011-05-12 20:18:26 UTC
Comment on attachment 59881 [details]
allow parsing of ' or " quoted strings.

buggy with leading spaces
Comment 3 Julian Seward 2011-10-21 06:00:30 UTC
Is there a Debian bug report tracking this?  I'd like to see more
details of what the problem is, so as to construct some kind of
test case.