Explorar o código

(GNU.sparse.name): New variable for storing sparse file name.

Sergey Poznyakoff %!s(int64=19) %!d(string=hai) anos
pai
achega
1ecd6672e1
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/xheader.c

+ 3 - 1
src/xheader.c

@@ -1383,7 +1383,9 @@ struct xhdr_tab const xhdr_tab[] = {
   { "GNU.sparse.size",       sparse_size_coder, sparse_size_decoder, true },
   { "GNU.sparse.numblocks",  sparse_numblocks_coder, sparse_numblocks_decoder,
     true },
-  /* tar 1.14 - 1.15.1 keywords. Multiplse instances of these appeared in 'x'
+  { "GNU.sparse.name",       path_coder, path_decoder,
+    true },
+  /* tar 1.14 - 1.15.1 keywords. Multiple instances of these appeared in 'x'
      headers, and each of them was meaningful. It confilcted with POSIX specs,
      which requires that "when extended header records conflict, the last one
      given in the header shall take precedence." */