| Summary: | kompare fails to parse a specific diff | ||
|---|---|---|---|
| Product: | [Applications] kompare | Reporter: | richlv |
| Component: | parser | Assignee: | Kompare bugs <kompare-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 4.0.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| URL: | https://support.zabbix.com/secure/attachment/21193/windows_2012.diff | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
richlv
2012-12-29 21:46:28 UTC
The problem is that this diff is missing the first line which identifies it as a unified diff, something like: diff -u src/libs/zbxsysinfo/common/system.c.orig src/libs/zbxsysinfo/common/system.c (diff normally writes the way it was invoked as the first line of the diff.) 'patch' does accept it, though. maybe it's worth parsing such diffs anyway ? |