]> Dogcows Code - chaz/tar/commitdiff
tar: restore macros that are used in some cases
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 4 Sep 2010 07:08:42 +0000 (00:08 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 4 Sep 2010 07:09:30 +0000 (00:09 -0700)
* 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.

src/tar.c

index 223de2cdf531137d07c2ddbdbfe705f9af1fa764..782ed3b5328a7778cb7afd786416803e5f3b0cbb 100644 (file)
--- 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)
 {
This page took 0.019848 seconds and 4 git commands to generate.