Pierre Etchemaite

Show:

What's happening?

  • Comment: segfault when write function is a "real" closure

    I added #ifndef CAMLreturnT #define CAMLreturnT(T, result) do{ \ T caml__temp_result = (result); \ caml_local_roots = caml__frame; \ return (caml__temp_result); \ }while(0) #endif (as seen in http://caml.inria.fr/mantis/view.php?id=4129) to curl-helper.c so I could compile it against OCaml 3.09.2. I'm not sure it's the right fix, but it worked for me; My test programs and my "real"...

    2008-12-19 14:52:21 UTC in Ocaml Curl Library

  • segfault when write function is a "real" closure

    I get random segfaults in writefunction (and readfunction ?) when they are "real" closures (capture some environment). Works: let read_file connection path = Printf.printf "read_file %s...%!" path; let writefunction buffer = let buffer_size = String.length buffer in Printf.eprintf "W(%d)%!" buffer_size in Curl.set_httpget connection true; Curl.set_url connection path;...

    2008-12-16 09:45:12 UTC in Ocaml Curl Library

About Me

  • 2008-01-23 (2 years ago)
  • 1989377
  • petchema (My Site)
  • Pierre Etchemaite

Send me a message