| Summary: | KDiff3 preprocessor command won't accept single quotes like the docs say | ||
|---|---|---|---|
| Product: | [Applications] kdiff3 | Reporter: | Greg Rundlett <greg> |
| Component: | application | Assignee: | michael <reeves.87> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | reeves.87 |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/kdiff3/311bf4ea4b5b4ee4b3c3b7fd46553cf60b3a45aa | Version Fixed/Implemented In: | 1.7 |
| Sentry Crash Report: | |||
|
Description
Greg Rundlett
2009-10-08 17:17:31 UTC
Hi Greg, Thank you for telling me. I already noticed a problem, but your observation is more precise. Previously KDiff3 used the system()-command to run the preprocessors. Now KDiff3 uses QProcess which seems to behave differently in this respect. I probably can't change the behaviour but I will have to update the docs and perhaps try to detect such commands and warn the user. Cheers, Joachim Git commit 311bf4ea4b5b4ee4b3c3b7fd46553cf60b3a45aa by Michael Reeves. Committed on 09/07/2018 at 03:13. Pushed by mreeves into branch 'master'. Fix behavior of preprocessor for sigle quotes The distinction between single and double quotes is purly a command shell issue. So silently convert to double quotes. Also change escaping to QTs non-standard form for double quotes if contained in single quotes. FIXED-IN: 1.7 M +0 -2 doc/en/index.docbook M +23 -2 src/pdiff.cpp https://commits.kde.org/kdiff3/311bf4ea4b5b4ee4b3c3b7fd46553cf60b3a45aa |