4b644cb704
checked in (request 35735) OBS-URL: https://build.opensuse.org/request/show/35735 OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=20
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;
|
|
|