bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] labels with --multi-volume


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] labels with --multi-volume
Date: Mon, 03 Nov 2008 20:56:09 +0200

Kamil Dudka <address@hidden> ha escrit:

> But this feature seems to disappear in CVS revision 1.87
(src/buffer.c).

Thanks for reporting.

> Was this change intended?

It was a typo.  Attached is a patch.

Regards,
Sergey

Index: src/buffer.c
===================================================================
RCS file: /cvsroot/tar/tar/src/buffer.c,v
retrieving revision 1.123
diff -p -u -r1.123 buffer.c
--- src/buffer.c        22 Oct 2008 20:55:36 -0000      1.123
+++ src/buffer.c        3 Nov 2008 18:54:07 -0000
@@ -1320,7 +1320,7 @@ _write_volume_label (const char *str)
 
       memset (label, 0, BLOCKSIZE);
 
-      strcpy (label->header.name, volume_label_option);
+      strcpy (label->header.name, str);
       assign_string (&current_stat_info.file_name,
                      label->header.name);
       current_stat_info.had_trailing_slash =

reply via email to

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