Bug#602170: [libbz2-ocaml] exceptions don't get registered properly
Package: libbz2-ocaml
Version: 0.6.0-5+b1
Severity: grave
Tags: patch
--- Please enter the report below this line. ---
whenever there's something wrong, the binding looks up the exception to be
thrown, and throws it.
The exceptions are supposed to be registered in the Bz2 module with
let _ = begin
...
Callback.register_exception "mlbz_data_exn" Data_error;
...
end
unfortunately this does not happen.
(you can add a print statement to see for yourself that it does not get
executed in a program)
more details, including a patch with a possible solution can be found at:
https://forge.ocamlcore.org/tracker/index.php?func=detail&aid=768&group_id=63&atid=338
As upstream seems quite unresponsive maybe this simple fix can be integrated in
Debian directly.
greetings, Joost Damad
--- System information. ---
Architecture: amd64
Kernel: Linux 2.6.32-5-amd64
Debian Release: squeeze/sid
500 unstable www.debian-multimedia.org
500 unstable ftp.nl.debian.org
500 testing dl.google.com
--- Package information. ---
Depends (Version) | Installed
====================================-+-===========
ocaml-base-nox-3.11.2 |
libbz2-1.0 | 1.0.5-6
libc6 (>= 2.2.5) | 2.11.2-6
Package's Recommends field is empty.
Package's Suggests field is empty.
Reply to: