caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* strange behavior with camlp4 and #use
@ 2008-09-16 21:31 Peng Zang
  2008-09-16 21:58 ` [Caml-list] " Hezekiah M. Carty
  0 siblings, 1 reply; 3+ messages in thread
From: Peng Zang @ 2008-09-16 21:31 UTC (permalink / raw)
  To: caml-list

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am running 3.10.2 installed from GODI.  Findlib is similarly installed.  I 
run into the following error

  "I/O error: Bad file descriptor"

when I try to '#use somefile' several times (when camlp4 is turned on).

I can reproduce this weird behavior as follows:

          Objective Caml version 3.10.2
  
  # #use "topfind";;
  # #camlp4o;;
  # #use "foo.ml";;
  - : int = 1
  # #use "foo.ml";;
  - : int = 1
  # #use "foo.ml";;
  I/O error: Bad file descriptor


Does anyone else get this weird behavior?  Why would it fail on the later 
times?  Was a file descriptor left unclosed?  Is this a bug?

Peng
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFI0CW8fIRcEFL/JewRAnD+AKDJo65H/y8oeT+ByCrQg8S2ZBHrhQCff+DD
wF9xbAA90UTcMjW/vJvAy/U=
=+e8p
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-16 23:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-16 21:31 strange behavior with camlp4 and #use Peng Zang
2008-09-16 21:58 ` [Caml-list] " Hezekiah M. Carty
2008-09-16 23:58   ` Peng Zang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).