2009-12-08 11:21:50 +01:00
|
|
|
Index: src/copyin.c
|
|
|
|
===================================================================
|
2010-08-14 00:00:06 +02:00
|
|
|
--- src/copyin.c.orig
|
|
|
|
+++ src/copyin.c
|
|
|
|
@@ -1484,7 +1484,20 @@ process_copy_in ()
|
|
|
|
fputc ('\n', stderr);
|
2009-12-08 11:21:50 +01:00
|
|
|
|
2010-03-26 00:54:28 +01:00
|
|
|
apply_delayed_set_stat ();
|
2010-08-14 00:00:06 +02:00
|
|
|
-
|
|
|
|
+
|
2009-12-08 11:21:50 +01:00
|
|
|
+ if (tty_in)
|
2010-03-26 00:54:28 +01:00
|
|
|
+ {
|
|
|
|
+ fclose(tty_in);
|
|
|
|
+ }
|
2009-12-08 11:21:50 +01:00
|
|
|
+ if (tty_out)
|
2010-03-26 00:54:28 +01:00
|
|
|
+ {
|
|
|
|
+ fclose(tty_out);
|
|
|
|
+ }
|
2009-12-08 11:21:50 +01:00
|
|
|
+ if (rename_in)
|
2010-03-26 00:54:28 +01:00
|
|
|
+ {
|
|
|
|
+ fclose(rename_in);
|
|
|
|
+ }
|
2009-12-08 11:21:50 +01:00
|
|
|
+
|
|
|
|
if (append_flag)
|
|
|
|
return;
|
|
|
|
|