Browse thread
[Caml-list] Ocaml binding of libsmbclient
- David Baelde
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | David Baelde <David.Baelde@e...> |
| Subject: | [Caml-list] Ocaml binding of libsmbclient |
I am currently binding libsmbclient to OCaml.
I have isolated a bug that drives me crazy :
the same function (common.c / common ()), called
from OCaml or C, has two different behaviors.
From C program, everything goes well.
Called from a OCaml program, smbc_init segfaults.
I hope that the bug comes from a bad binding,
maybe someone will be able to point it out.
Thank you for your help.
PS: Of course you need libsmbclient to enjoy the bug.
# tar jxvf bing.tar.bz2
# cd bing
# emacs Makefile common.c
# make all
# ctest
# mltest
--
David Baelde
Etudiant en Info à l'ENS Lyon
_______
.^. O
/V\ .°
// \\
/( )\
^^-^^
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners