Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301171 - app-text/wdiff-0.5-r2: -i option is broken
Summary: app-text/wdiff-0.5-r2: -i option is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-16 09:57 UTC by Ulrich Müller
Modified: 2010-03-30 22:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
wdiff-0.5-ignore-case.patch (wdiff-0.5-ignore-case.patch,375 bytes, patch)
2010-01-16 09:57 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2010-01-16 09:57:15 UTC
With the -i option, wdiff doesn't find any differences at all:

$ cat foo
foo
$ cat bar
bar
$ wdiff -3 -s foo bar

======================================================================
[-foo-]{+bar+}
======================================================================
foo: 1 words  0 0% common  0 0% deleted  1 100% changed
bar: 1 words  0 0% common  0 0% inserted  1 100% changed
$ wdiff -3 -i -s foo bar

======================================================================
foo: 1 words  1 100% common  0 0% deleted  0 0% changed
bar: 1 words  1 100% common  0 0% inserted  0 0% changed
$
Comment 1 Ulrich Müller gentoo-dev 2010-01-16 09:57:55 UTC
Created attachment 216663 [details, diff]
wdiff-0.5-ignore-case.patch

This patch fixes it for me.
Comment 2 Martin von Gagern 2010-01-16 10:09:58 UTC
It's already fixed in upstream repository. I hope to make an upstream release some time this month...
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-03-06 22:05:33 UTC
Fixed in -r3. Thanks for the patch.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2010-03-30 22:25:27 UTC
Closing as it is fixed in 0.5.0-r3 (still testing) and 0.6.0.