🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Rocky Bernstein Thu, 24 Dec 1992 15:27
tar cv not reporting file name (in 1.11.1)
#1152
Author: Rocky Bernstein
Date: Thu, 24 Dec 1992 15:27
26 lines
1286 bytes
In gnu tar-1.11.1, when I issue:
tar cv something*

I get blank lines for each file that is archived. Further
investigation reveals that the variable current_file_name
is not initialized on the create path; this is what print_header
uses. The fix I applied was to an assignment before calling
current_file_name = header->header.arch_name;


*** create.c	Thu Dec 24 19:56:04 1992
--- create.c~	Tue Sep  8 15:53:02 1992
***************
*** 1273,1283 ****
  		head = header;
  		/* hstat is already set up */
  		head_standard = f_standard;
- 		/* rocky@watson.ibm.com:
- 		   At this point, curr_file_name has not been initialized.
- 		   Initialize it.
-                 */
- 		current_file_name = header->header.arch_name;
  		print_header();
  	}

--- 1273,1278 ----
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads