bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

remote tape access broken in tar 1.13


From: Michael Stone
Subject: remote tape access broken in tar 1.13
Date: Fri, 8 Dec 2000 13:07:08 -0500
User-agent: Mutt/1.2.5i

I'm not sure why the remote shell basename is being incremented. The
result is that arg[0] is 'sh' instead of 'rsh' and rsh tries to connect
to a host named sh. This was noticed on a solaris 8 system, and is
corrected by the following patch:

*** rtapelib.c.orig     Fri Dec  8 12:36:12 2000
--- rtapelib.c  Fri Dec  8 12:34:54 2000
***************
*** 415,421 ****
        }
      remote_shell_basename = base_name (remote_shell);
      if (remote_shell_basename)
!       remote_shell_basename++;
      else
        remote_shell_basename = remote_shell;
  
--- 415,421 ----
        }
      remote_shell_basename = base_name (remote_shell);
      if (remote_shell_basename)
!       remote_shell_basename;
      else
        remote_shell_basename = remote_shell;
  


-- 
Mike Stone

Attachment: pgp7t86djKLNR.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]