Giter Site home page Giter Site logo

Comments (8)

barjac avatar barjac commented on August 15, 2024

Any comment on this please?

from vbindiff.

linuxCowboy avatar linuxCowboy commented on August 15, 2024

It's the same source in debian (my distro) and mageia:

 $ wget http://ftp.free.fr/mirrors/mageia.org/distrib/8/SRPMS/core/release/vbindiff-3.0-0.8.beta5.mga8.src.rpm

 $ rpm2cpio vbindiff-3.0-0.8.beta5.mga8.src.rpm |cpio -iv
vbindiff-3.0_beta5.tar.gz

 $ wget http://deb.debian.org/debian/pool/main/v/vbindiff/vbindiff_3.0-beta5.orig.tar.gz

 $ ls -l vbindiff-3.0_beta5.tar.gz vbindiff_3.0-beta5.orig.tar.gz
-rw-r--r-- 1 lxc lxc 128,406 Oct 25  2017 vbindiff_3.0-beta5.orig.tar.gz
-rw-r--r-- 1 lxc lxc 128,406 Feb 21 13:32 vbindiff-3.0_beta5.tar.gz

 $ diff -s vbindiff-3.0_beta5.tar.gz vbindiff_3.0-beta5.orig.tar.gz
Files vbindiff-3.0_beta5.tar.gz and vbindiff_3.0-beta5.orig.tar.gz are identical

I got your build:

 $ wget https://mirror.tuxinator.org/mageia/distrib/8/x86_64/media/core/release/vbindiff-3.0-0.8.beta5.mga8.x86_64.rpm

 $ rpm2cpio vbindiff-3.0-0.8.beta5.mga8.x86_64.rpm |cpio -ivd
./usr/bin/vbindiff

It failed in debian too:

 $ ./usr/bin/vbindiff vbindiff-3.0-0.8.beta5.mga8.src.rpm

Segmentation fault

 $ reset

You could try my patches? I implemented the searches new.

(But I don't think Mr. Madsen's code is faulty.)

from vbindiff.

rofl0r avatar rofl0r commented on August 15, 2024

vbindiff is a buggy, unmaintained PoS (piece of software) written in a horrible, unmaintainable language (C++). that's why i long gave up on it and you should too.
you can use haxdiff ( https://github.com/rofl0r/haxdiff ) + an editor that has syntax highlighting for diffs to replace it.

from vbindiff.

barjac avatar barjac commented on August 15, 2024

You could try my patches? I implemented the searches new.

Where are they? I see no patches in the Debian sources.

from vbindiff.

linuxCowboy avatar linuxCowboy commented on August 15, 2024

@barjac

I see you still haven't fixed your Mageia probs!

From your dump its visible that wresize is called with 4 args instead of 3?

@rofl0r

vbindiff is (for me) first of all a quick hexviewer. I don't see how haxdiff can compete with that.

And it's okay for me to get only the source of a good program. There is no obligation for a lifelong support!

from vbindiff.

barjac avatar barjac commented on August 15, 2024

@barjac

I see you still haven't fixed your Mageia probs!

From your dump its visible that wresize is called with 4 args instead of 3?

Where?
I only see it used once in ConWindow::resize with 3 params.
if (wresize(win, height, width) != OK)
Are you suggesting that our optimization is causing this?
I am not a programmer so if you can offer more than cryptic comments I would appreciate your help. ;)

from vbindiff.

linuxCowboy avatar linuxCowboy commented on August 15, 2024

"cryptic comments"... hmm...

It looks like a widechar problem to me.

And indeed, install the ncurses utf8 development libraries

lib64ncursesw-devel

run

./configure LIBS="-lncursesw -lpanelw" && make

and vbindiff is back in the game!

Tested with
Mageia 8 Live Xfce 64bit

from vbindiff.

barjac avatar barjac commented on August 15, 2024

"cryptic comments"... hmm...
:-)

Many thanks for you help - much appreciated - fix now pushed in Mageia 8 updates_testing and in cauldron.

from vbindiff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.