Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Ocaml binding of libsmbclient
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-09-14 (16:54)
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 Archives:
Bug reports: FAQ:
Beginner's list: