]> git.wh0rd.org - dump.git/commitdiff
Fix the treatment for an interrupt signal when dump access the remote tape through...
authorStelian Pop <stelian@popies.net>
Tue, 11 Jan 2000 12:32:53 +0000 (12:32 +0000)
committerStelian Pop <stelian@popies.net>
Tue, 11 Jan 2000 12:32:53 +0000 (12:32 +0000)
CHANGES
common/dumprmt.c

diff --git a/CHANGES b/CHANGES
index 7739610229d0fc9b305d0f7ca7b842fd62114594..129df01fde54810d6869eb44b4ec514791853232 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,4 @@
-$Id: CHANGES,v 1.33 2000/01/09 23:47:29 tiniou Exp $
+$Id: CHANGES,v 1.34 2000/01/11 12:32:53 tiniou Exp $
 
 Changes between versions 0.4b12 and 0.4b13 (released ???????????????)
 =====================================================================
@@ -15,6 +15,10 @@ Changes between versions 0.4b12 and 0.4b13 (released ???????????????)
        Many thanks to Patrik Schindler <poc@pocnet.net> for 
        helping me find this bug.
 
+4.     Fix the treatment for an interrupt signal when dump access
+       the remote tape through RSH. Thanks to Christian Weisgerber
+       <naddy@mips.rhein-neckar.de> for providing the patch.
+
 Changes between versions 0.4b11 and 0.4b12 (released January 8, 2000)
 =====================================================================
 
index 5f53079c6ddb7131702af8d8a39a0b2275cb4fb4..b56cc27c9659d41fe6ca7a77edfae223ef99fd3b 100644 (file)
@@ -40,7 +40,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: dumprmt.c,v 1.8 1999/11/02 09:35:56 tiniou Exp $";
+       "$Id: dumprmt.c,v 1.9 2000/01/11 12:33:44 tiniou Exp $";
 #endif /* not lint */
 
 #ifdef __linux__
@@ -450,6 +450,7 @@ int piped_child(const char **command) {
                        msg ("cannot dup2 pipe: %s\n", strerror(errno));
                        exit(1);
                }
+               setpgid(0, getpid());
                execvp (command[0], (char *const *) command);
                msg("cannot exec %s: %s\n", command[0], strerror(errno));
                exit(1);