Bug 433537 - Windows: Cannot use preprocessor
Summary: Windows: Cannot use preprocessor
Status: REPORTED
Alias: None
Product: kdiff3
Classification: Applications
Component: application (other bugs)
Version First Reported In: 1.8.5
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: michael
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-24 15:08 UTC by michael
Modified: 2021-02-24 15:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description michael 2021-02-24 15:08:45 UTC
When using a preprocessor command, the preprocessed files seem to always be empty. On Windows 10 with Git for Windows installed, I set the PATH to include C:\Program Files\Git\usr\bin in order to have sed.exe (and cat.exe) available which are not bundled with kdiff3 anymore.
When I do a directory diff with "Full Analysis" and a "Preprocessor Command", I always get the result that all files matched and when I look at them, they are displayed as all empty (hence identical). This even happens when I use cat as the "Preprocessor Command". Obviously any more sophisticated sed filtering will also fail.
Is this a known issue with a known workaround?
(If I fail to set up the PATH, any filtering fails because sed.exe is not found.)