summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2010-09-04 00:08:42 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2010-09-04 00:09:30 -0700
commite985feb292927fcf3602a7acd355105960302c0a (patch)
tree580769f20061d6b7a97c400e6da72e53f375183d
parentfbc54fa3378b6ee5bbf9ad735dce47eee606317c (diff)
downloadtar-e985feb292927fcf3602a7acd355105960302c0a.tar.gz
tar: restore macros that are used in some cases
* src/tar.c (LOW_DENSITY_NUM, MID_DENSITY_NUM, HIGH_DENSITY_NUM): Restore these macros, undoing the previous change to this file. The macros are used after all, in some cases. Sorry about that.
-rw-r--r--src/tar.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tar.c b/src/tar.c
index 223de2cd..782ed3b5 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -1142,6 +1142,20 @@ add_file_id (const char *filename)
file_id_list = p;
}
+/* Default density numbers for [0-9][lmh] device specifications */
+
+#ifndef LOW_DENSITY_NUM
+# define LOW_DENSITY_NUM 0
+#endif
+
+#ifndef MID_DENSITY_NUM
+# define MID_DENSITY_NUM 8
+#endif
+
+#ifndef HIGH_DENSITY_NUM
+# define HIGH_DENSITY_NUM 16
+#endif
+
static void
update_argv (const char *filename, struct argp_state *state)
{