[project @ 1997-10-21 20:39:45 by sof]
authorsof <unknown>
Tue, 21 Oct 1997 20:39:46 +0000 (20:39 +0000)
committersof <unknown>
Tue, 21 Oct 1997 20:39:46 +0000 (20:39 +0000)
Renamed freeStdChannel to freeStdFile

ghc/lib/cbits/freeFile.lc
ghc/lib/cbits/stgio.h

index 5c78076..1ac3d52 100644 (file)
@@ -8,12 +8,12 @@
 #include "rtsdefs.h"
 #include "stgio.h"
 
-/* sigh, the standard channels are handled differently,
-   we don't want them freed via the ForeignObj finaliser,
-   as we probably want to use these channels before we
-   *really* shutdown (dumping stats etc.)
+/* sigh, the FILEs attached to the standard descriptors are 
+   handled differently. We don't want them freed via the
+   ForeignObj finaliser, as we probably want to use these
+   before we *really* shut down (dumping stats etc.)
 */
-void freeStdChannel(fp)
+void freeStdFile(fp)
 StgForeignObj fp;
 { return; }
 
index 7e43675..2c5eab2 100644 (file)
@@ -51,7 +51,7 @@ StgInt        fileSize    PROTO((StgForeignObj, StgByteArray));
 StgInt flushFile   PROTO((StgForeignObj));
 
 /* freeFile.lc */
-void freeStdChannel PROTO((StgForeignObj));
+void freeStdFile PROTO((StgForeignObj));
 void freeFile PROTO((StgForeignObj));
 
 /* getBufferMode.lc */