update mailcap entries
[debian/tar] / src / create.c
index b36cf1372fe6b3bf40ef48e8f6e1ff4f87e0858b..43b5a4c23ab1140f38180d02e2b140c9886bd031 100644 (file)
@@ -26,8 +26,6 @@
 #include "common.h"
 #include <hash.h>
 
-extern int debian_longlink_hack;
-
 /* Error number to use when an impostor is discovered.
    Pretend the impostor isn't there.  */
 enum { IMPOSTOR_ERRNO = ENOENT };
@@ -737,7 +735,7 @@ write_header_name (struct tar_stat_info *st)
       return write_short_name (st);
     }
   else if (NAME_FIELD_SIZE - (archive_format == OLDGNU_FORMAT)
-          < strlen (st->file_name) + debian_longlink_hack)
+          < strlen (st->file_name))
     return write_long_name (st);
   else
     return write_short_name (st);
@@ -1458,7 +1456,7 @@ dump_hard_link (struct tar_stat_info *st)
          block_ordinal = current_block_ordinal ();
          assign_string (&st->link_name, link_name);
          if (NAME_FIELD_SIZE - (archive_format == OLDGNU_FORMAT)
-             < strlen (link_name) + debian_longlink_hack)
+             < strlen (link_name))
            write_long_link (st);
 
          st->stat.st_size = 0;