Version française
Home     About     Download     Resources     Contact us    
Browse thread
trouble with Marshal.to_string
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Norman Ramsey <nr@e...>
Subject: Re: [Caml-list] trouble with Marshal.to_string
 > > Any ideas how I might track down the source of a custom block?
 > 
 > The old-fashioned way, with grep :-)  I'm sure there are fancier  
 > ways, but...
 > 
 > shock:~/src/ocaml-3.08.4 avsm$ grep -r custom_serialize_def *
 > byterun/custom.c:  ops->serialize = custom_serialize_default;
 > byterun/custom.h:#define custom_serialize_default NULL
 > byterun/io.c:  custom_serialize_default,

Aha!  It seems possible that a closure has captured an open file handle...


Norman