25 lines
416 B
Diff
25 lines
416 B
Diff
|
Index: src/copyin.c
|
||
|
===================================================================
|
||
|
--- src/copyin.c.orig
|
||
|
+++ src/copyin.c
|
||
|
@@ -1565,6 +1565,19 @@ process_copy_in ()
|
||
|
if (dot_flag)
|
||
|
fputc ('\n', stderr);
|
||
|
|
||
|
+ if (tty_in)
|
||
|
+ {
|
||
|
+ fclose(tty_in);
|
||
|
+ }
|
||
|
+ if (tty_out)
|
||
|
+ {
|
||
|
+ fclose(tty_out);
|
||
|
+ }
|
||
|
+ if (rename_in)
|
||
|
+ {
|
||
|
+ fclose(rename_in);
|
||
|
+ }
|
||
|
+
|
||
|
if (append_flag)
|
||
|
return;
|
||
|
|