🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #240

bug with +info-file long ops in gnu-tar 1.10

#240
From: John P. Rouillard
Date: Mon, 27 Jul 1992 00:22
25 lines
1341 bytes
Specifying "+info-file" on the command line for gny tar version 1.10
doesn't work.  However the short option, -F, does work.  The problem
is with the initialization of the options parsing structure in tar.c.

The following context diff should fix it.

BTW, does anybody have an up to date manual for gtar?

===================================================================
RCS file: /sources/cvsrepos/gtar/tar.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 tar.c
--- 1.1.1.1	1991/12/17 03:45:37
+++ tar.c	1992/07/26 22:31:16
@@ -186,7 +186,7 @@
 	{"incremental",		0,	0,			'G'},
 	{"listed-incremental",	1,	0,			'g'},
 	{"multi-volume",	0,	&f_multivol,		1},
-	{"info-script",		1,	&f_run_script_at_end,	1},
+	{"info-script",		1,	0,			'F'},
 	{"absolute-paths",	0,	&f_absolute_paths,	1},
 	{"interactive",		0,	&f_confirm,		1},
 	{"confirmation",	0,	&f_confirm,		1},

-- John
Technical Details
Message-ID: <ROUILJ.92Jul26192219@dl5000.bc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!dl5000.bc.edu!rouilj

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!dl5000.bc.edu!rouilj
From: rouilj@dl5000.bc.edu (John P. Rouillard)
Subject: bug with +info-file long ops in gnu-tar 1.10
Message-ID: <ROUILJ.92Jul26192219@dl5000.bc.edu>
Sender: gnulists@ai.mit.edu
Organization: Institute for Space Research, Boston College
Distribution: gnu
Date: Mon, 27 Jul 1992 00:22:19 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 26