25 lines
392 B
Diff
25 lines
392 B
Diff
|
Index: src/copyin.c
|
||
|
===================================================================
|
||
|
--- src/copyin.c.orig
|
||
|
+++ src/copyin.c
|
||
|
@@ -1420,6 +1420,19 @@ process_copy_in ()
|
||
|
|
||
|
cpio_file_stat_free (&file_hdr);
|
||
|
|
||
|
+ if (tty_in)
|
||
|
+ {
|
||
|
+ fclose(tty_in);
|
||
|
+ }
|
||
|
+ if (tty_out)
|
||
|
+ {
|
||
|
+ fclose(tty_out);
|
||
|
+ }
|
||
|
+ if (rename_in)
|
||
|
+ {
|
||
|
+ fclose(rename_in);
|
||
|
+ }
|
||
|
+
|
||
|
if (append_flag)
|
||
|
return;
|
||
|
|