summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-06-26 11:55:59 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-26 11:55:59 +0000
commit2b96b0a587f7ad8b6305181755f2d821e8a640ff (patch)
tree4fa292494ffb6e8f53d5584008e5ba23e6fe8cd6 /perl.c
parent8dbfbba0c55b52c9acc258d9a3522ce8b76c3497 (diff)
downloadperl-2b96b0a587f7ad8b6305181755f2d821e8a640ff.tar.gz
DJGPP patches from Laszlo Molnar.
p4raw-id: //depot/perl@10951
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl.c b/perl.c
index 34da642d81..7bb7dee78d 100644
--- a/perl.c
+++ b/perl.c
@@ -226,8 +226,8 @@ perl_construct(pTHXx)
* space. The other alternative would be to provide STDAUX and STDPRN
* filehandles.
*/
- (void)fclose(stdaux);
- (void)fclose(stdprn);
+ (void)PerlIO_close(PerlIO_importFILE(stdaux, 0));
+ (void)PerlIO_close(PerlIO_importFILE(stdprn, 0));
#endif
}