Przeglądaj źródła

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

Sergey Poznyakoff 19 lat temu
rodzic
commit
1ecd6672e1
1 zmienionych plików z 3 dodań i 1 usunięć
  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." */