I discovered that my problem was that unlit was crashing because stdout
does not like to be closed.

Anyway this patch fixes the problem.

I will let you know how things go now that I solved that problem.  Next
time I will actually take a look at the core file.  It would of saved my
and Kirstin S. Reese a lot of trouble.


--- unlit.c~    Sun Feb  7 17:06:27 1999
+++ unlit.c     Fri Jun 25 17:45:30 1999
@@ -338,8 +338,8 @@
 
     unlit(file, istream, ostream);
 
-    fclose(istream);
-    fclose(ostream);
+    if (istream != stdin)  fclose(istream);
+    if (ostream != stdout) fclose(ostream);
 
     exit(errors==0 ? 0 : 1);
 }

-- 
Kevin Atkinson
[EMAIL PROTECTED]
http://metalab.unc.edu/kevina/

Reply via email to