Question: cio IO predicates not "cleand up" after program aborts

From: Ulrich Scholz <scholz_at_rbg.informatik.tu-darmstadt.de>
Date: Wed 19 Jan 2005 09:23:07 AM GMT
Message-ID: <20050119092307.GA695@rbg.informatik.tu-darmstadt.de>
Dear all,

a short question:

I'm using the cio library, which provides C-Prolog compatible I/O predicate, 
to implement a parser.  

Sometimes it seems that if the parser aborts because of a programming mistake, 
the input mechanism is not "cleaned up": Every odd time I start the parser, 
I get strange errors but every other time, it is fine.

How can I manually clean up any open file?

Thank you, Uli
-- 
Ulrich Scholz 

scholz@informatik.tu-darmstadt.de
http://www.intellektik.informatik.tu-darmstadt.de/~scholz/
Received on Wed Jan 19 09:25:39 2005

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:33 PM GMT GMT