From: Nicolas C. <war...@fr...> - 2003-12-20 13:00:30
|
> The following code that uses extlib segfaults both with ocaml 3.06 and > ocaml 3.07: > > List.iter prerr_endline (Std.input_list (open_in "/etc/passwd")) > > More precisely the segfaults is at line 29 of std.ml: > > Obj.magic (Obj.repr dst) 1 (Obj.repr r); > > I haven't exactly understood what you're trying to do there, so I'm not > proposing any solution, but the problem still exists :-) Uhm. That's actually a very bad typo error from me : Obj.magic should be replaced by : Obj.set_field ( that should make a lot more sense now :) I updated the CVS, thanks for reporting it. Regards Nicolas Cannasse |