🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1514

bug fix for rmtlib package used in gnu tar

#1514
From: Arnold D. Robbins
Date: Thu, 23 Mar 1989 19:14
48 lines
1927 bytes
Here is a bug fix for the remote mag tape library used in gnu tar.
I am going to be sending a full dist to r$alz for a fresh posting.

Arnold
-----------------
*** /tmp/,RCSt1a03059	Thu Mar 23 14:13:04 1989
--- rmtlib.c	Thu Mar 23 14:12:43 1989
***************
*** 1,9 ****
  #ifndef lint
! static char *RCSid = "$Header: /usr/src/local/usr.lib/librmt/RCS/rmtlib.c,v 1.6 88/10/25 17:04:29 root Exp $";
  #endif
  
  /*
   * $Log:	rmtlib.c,v $
   * Revision 1.6  88/10/25  17:04:29  root
   * rexec code and a bug fix from srs!dan, miscellanious cleanup. ADR.
   * 
--- 1,12 ----
  #ifndef lint
! static char *RCSid = "$Header: /usr/src/local/usr.lib/librmt/RCS/rmtlib.c,v 1.7 89/03/23 14:09:51 root Exp Locker: root $";
  #endif
  
  /*
   * $Log:	rmtlib.c,v $
+  * Revision 1.7  89/03/23  14:09:51  root
+  * Fix from haynes@ucscc.ucsc.edu for use w/compat. ADR.
+  * 
   * Revision 1.6  88/10/25  17:04:29  root
   * rexec code and a bug fix from srs!dan, miscellanious cleanup. ADR.
   * 
***************
*** 355,361 ****
  		close(Ctp[i][0]); close(Ctp[i][1]);
  		(void) setuid (getuid ());
  		(void) setgid (getgid ());
! 		if (*user)
  		{
  			execl("/usr/ucb/rsh", "rsh", system, "-l", login,
  				"/etc/rmt", (char *) 0);
--- 358,364 ----
  		close(Ctp[i][0]); close(Ctp[i][1]);
  		(void) setuid (getuid ());
  		(void) setgid (getgid ());
! 		if (*login)
  		{
  			execl("/usr/ucb/rsh", "rsh", system, "-l", login,
  				"/etc/rmt", (char *) 0);
Technical Details
Message-ID: <8903231914.AA03080@emoryu1.cc.emory.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unix.cc.emory.edu!arnold

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unix.cc.emory.edu!arnold
From: arnold@unix.cc.emory.edu (Arnold D. Robbins)
Newsgroups: gnu.utils.bug
Subject: bug fix for rmtlib package used in gnu tar
Message-ID: <8903231914.AA03080@emoryu1.cc.emory.edu>
Date: 23 Mar 89 19:14:42 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 48