f746cd70ad
Copy from Archiving/cpio based on submit request 24243 from user mseben OBS-URL: https://build.opensuse.org/request/show/24243 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=21
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;
|
|
|