aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-13 17:06:53 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-13 17:06:53 +0000
commit87cf2ee8abec24e6399653e4856ab3543e7aadf7 (patch)
treec86b5be4f9e4e363fce56b7749e0ee5dc1c6fb2d /archival
parentd5fe880a57bc140f2e1469d2f1c75f815df94eff (diff)
downloadbusybox-87cf2ee8abec24e6399653e4856ab3543e7aadf7.tar.gz
tar: move FNM_LEADING_DIR #define to tar.c - no other users.
Closes bug 1332.
Diffstat (limited to 'archival')
-rw-r--r--archival/tar.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/archival/tar.c b/archival/tar.c
index 64975c428..6b3738365 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -28,6 +28,11 @@
#include "libbb.h"
#include "unarchive.h"
+/* FIXME: Stop using this non-standard feature */
+#ifndef FNM_LEADING_DIR
+#define FNM_LEADING_DIR 0
+#endif
+
#define block_buf bb_common_bufsiz1
#if ENABLE_FEATURE_TAR_CREATE