2009-12-08 11:21:50 +01:00
|
|
|
Index: src/copyin.c
|
|
|
|
===================================================================
|
2020-08-19 12:06:19 +02:00
|
|
|
--- src/copyin.c.orig
|
|
|
|
+++ src/copyin.c
|
|
|
|
@@ -1420,6 +1420,19 @@ process_copy_in ()
|
2009-12-08 11:21:50 +01:00
|
|
|
|
2020-08-19 12:06:19 +02:00
|
|
|
cpio_file_stat_free (&file_hdr);
|
2023-06-23 15:45:55 +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;
|
|
|
|
|