Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binary data breaks wdiff output #59

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

jondaley
Copy link

I needed to fix the %% escaping as pointed out by others.

I also have large binary data files in my RPMs and rfcdiff/wdiff attempt to diff them and fail miserably, and messes up the output, causing the tool to end up saying the binary files have not changed. This is spite of the file size and contents changing, which is confusing to me. Seem like there might be a better way to do a "regular" diff on the files, and if they are binary, skip all other parsing?

Changing the default DATA FileType to Binary is enough to fix it for me, but there might be a better solution that works for more people, I'm not sure.

Jon Daley added 2 commits September 21, 2023 20:49
Binary data breaks the rfc-diff/wdiff tool since the format doesn't
have good carriage returns, etc.

It would probably be nicer if the wdiff or rfcdiff would
  automatically detect binary and do the right thing.

  (though presumably rfcdiff isn't supposed to be smart enough
   to handle non-rfc data and pkgdiff is kind of abusing that
   behavior?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant