From: Sergey Poznyakoff Date: Fri, 14 Nov 2003 09:56:11 +0000 (+0000) Subject: Removed debugging hook X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=bc73e3d68d264291376bc8d28275b58f87a754a7;p=chaz%2Ftar Removed debugging hook --- diff --git a/src/create.c b/src/create.c index 4a1f17a..6808fba 100644 --- a/src/create.c +++ b/src/create.c @@ -1224,15 +1224,6 @@ dump_file (char *p, int top_level, dev_t parent_device) block_ordinal = current_block_ordinal (); current_stat_info.stat.st_size = 0; /* force 0 size on dir */ - /* FIXME: If people could really read standard archives, this - should be: - - header - = start_header (standard_option ? p : namebuf, ¤t_stat_info); - - but since they'd interpret DIRTYPE blocks as regular - files, we'd better put the / on the name. */ - header = start_header (namebuf, ¤t_stat_info); if (!header) return; @@ -1492,8 +1483,8 @@ dump_file (char *p, int top_level, dev_t parent_device) sizeleft = current_stat_info.stat.st_size; - /* Don't bother opening empty, world readable files. Also do not open - files when archive is meant for /dev/null. */ + /* Don't bother opening empty, world readable files. Also do not + open files when archive is meant for /dev/null. */ if (dev_null_output || (sizeleft == 0 @@ -1533,8 +1524,7 @@ dump_file (char *p, int top_level, dev_t parent_device) isextended = header->oldgnu_header.isextended; else isextended = 0; - if (isextended) - abort(); + save_typeflag = header->header.typeflag; finish_header (header, block_ordinal); if (isextended)