🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #820

GNU tar 1.11

#820
From: BESANCON Thierry
Date: Fri, 11 Sep 1992 17:03
143 lines
4165 bytes
	Hello from France.

Here's my 0.02$ contribution for tar-1.11 (but I fear someone has already mailed
you these patches). Problems I encountered were with preprocessor hash marks not
in the first column and with the yacc file which was compiled without all the
stuff about compiler flags. I compiled it on a sparc station II under 
sunOs-4.1.1 with native sun cc (don't flame me, I've been working at this
site for two days only; gcc is to be compiled asap).

	Thanks for all that you're releasing to the unix community.

			Thierry

-------------------------------------------------------------------------------

*** buffer.c.orig	Tue Sep  8 22:09:06 1992
--- buffer.c	Fri Sep 11 12:33:39 1992
***************
*** 1337,1345 ****
  			    break;
  
  		    case '!':
!     #ifdef __MSDOS__
  			    spawnl(P_WAIT,getenv("COMSPEC"),"-",0);
!     #else
  				    /* JF this needs work! */
  			    switch(fork()) {
  			    case -1:
--- 1337,1345 ----
  			    break;
  
  		    case '!':
! #ifdef __MSDOS__
  			    spawnl(P_WAIT,getenv("COMSPEC"),"-",0);
! #else
  				    /* JF this needs work! */
  			    switch(fork()) {
  			    case -1:
***************
*** 1355,1361 ****
  				    wait(0);
  				    break;
  			    }
!     #endif
  			    break;
  		  }
  		  }
--- 1355,1361 ----
  				    wait(0);
  				    break;
  			    }
! #endif
  			    break;
  		  }
  		  }


*** extract.c.orig	Tue Sep  8 22:09:11 1992
--- extract.c	Fri Sep 11 12:32:18 1992
***************
*** 293,299 ****
  			 fd = 1;
  			 goto extract_file;
  		 }
!  #ifdef O_CTG
  		 /*
  		  * Contiguous files (on the Masscomp) have to specify
  		  * the size in the open call that creates them.
--- 293,299 ----
  			 fd = 1;
  			 goto extract_file;
  		 }
! #ifdef O_CTG
  		 /*
  		  * Contiguous files (on the Masscomp) have to specify
  		  * the size in the open call that creates them.
***************
*** 304,312 ****
  				   openflag | O_CTG,
  				   hstat.st_mode, hstat.st_size);
  		 else
!  #endif
  		 {
!  #ifdef NO_OPEN3
  			 /*
  			  * On raw V7 we won't let them specify -k (f_keep), but
  			  * we just bull ahead and create the files.
--- 304,312 ----
  				   openflag | O_CTG,
  				   hstat.st_mode, hstat.st_size);
  		 else
! #endif
  		 {
! #ifdef NO_OPEN3
  			 /*
  			  * On raw V7 we won't let them specify -k (f_keep), but
  			  * we just bull ahead and create the files.
***************
*** 315,327 ****
  				     ? longname
  				     : head->header.name) + skipcrud, 
  				    hstat.st_mode);
!  #else
  			 /*
  			  * With 3-arg open(), we can do this up right.
  			  */
  			 fd = open(skipcrud + current_file_name,
  				   openflag, hstat.st_mode);
!  #endif
  		 }
  
  		 if (fd < 0) {
--- 315,327 ----
  				     ? longname
  				     : head->header.name) + skipcrud, 
  				    hstat.st_mode);
! #else
  			 /*
  			  * With 3-arg open(), we can do this up right.
  			  */
  			 fd = open(skipcrud + current_file_name,
  				   openflag, hstat.st_mode);
! #endif
  		 }
  
  		 if (fd < 0) {

*** Makefile    Fri Sep 11 12:38:28 1992
--- Makefile.orig       Fri Sep 11 12:29:13 1992
***************
*** 119,124 ****
--- 119,128 ----

  rmt:  rmt.c
        $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(srcdir)/rmt.c
+
+ getdate.o: getdate.y
+       $(YACC) getdate.y
+       $(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -I$(srcdir) -I. y.tab.c -o getdat
e.o

  tar.info: tar.texinfo
        makeinfo $(srcdir)/tar.texinfo
Technical Details
Message-ID: <9209111303.AA14992@merlin.ens.fr>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ens.ens.FR!besancon

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ens.ens.FR!besancon
From: besancon@ens.ens.FR (BESANCON Thierry)
Subject: GNU tar 1.11
Message-ID: <9209111303.AA14992@merlin.ens.fr>
Sender: gnulists@ai.mit.edu
Organization: Laboratoire de Physique Statistique de l'Ecole Normale Superieure
              24 rue Lhomond, 75231 Paris Cedex 05, France
              tel: (33) 1 44 32 33 83; fax: (33) 1 45 87 34 89
Distribution: gnu
Date: Fri, 11 Sep 1992 17:03:37 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 145