瀏覽代碼

(read_header): Removed assignment to oldgnu_header.isextended. It was breaking append mode.

Sergey Poznyakoff 20 年之前
父節點
當前提交
6e63133691
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      src/list.c

+ 0 - 5
src/list.c

@@ -465,11 +465,6 @@ read_header (bool raw_extended_headers)
 		  np[sizeof h->prefix] = '\0';
 		  np += strlen (np);
 		  *np++ = '/';
-
-		  /* Prevent later references to current_header from
-		     mistakenly treating this as an old GNU header.
-		     This assignment invalidates h->prefix.  */
-		  current_header->oldgnu_header.isextended = 0;
 		}
 	      memcpy (np, h->name, sizeof h->name);
 	      np[sizeof h->name] = '\0';