2009-12-08 11:21:50 +01:00
|
|
|
Index: src/copyin.c
|
|
|
|
===================================================================
|
2010-08-14 00:00:07 +02:00
|
|
|
--- src/copyin.c.orig 2010-08-10 16:45:19.000000000 +0200
|
|
|
|
+++ src/copyin.c 2010-08-10 16:45:19.000000000 +0200
|
|
|
|
@@ -1485,6 +1485,19 @@ process_copy_in ()
|
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:07 +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;
|
|
|
|
|