diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-13 17:06:53 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-13 17:06:53 +0000 |
commit | 87cf2ee8abec24e6399653e4856ab3543e7aadf7 (patch) | |
tree | c86b5be4f9e4e363fce56b7749e0ee5dc1c6fb2d | |
parent | d5fe880a57bc140f2e1469d2f1c75f815df94eff (diff) | |
download | busybox-w32-87cf2ee8abec24e6399653e4856ab3543e7aadf7.tar.gz busybox-w32-87cf2ee8abec24e6399653e4856ab3543e7aadf7.tar.bz2 busybox-w32-87cf2ee8abec24e6399653e4856ab3543e7aadf7.zip |
tar: move FNM_LEADING_DIR #define to tar.c - no other users.
Closes bug 1332.
-rw-r--r-- | archival/tar.c | 5 | ||||
-rw-r--r-- | include/platform.h | 6 |
2 files changed, 5 insertions, 6 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 @@ | |||
28 | #include "libbb.h" | 28 | #include "libbb.h" |
29 | #include "unarchive.h" | 29 | #include "unarchive.h" |
30 | 30 | ||
31 | /* FIXME: Stop using this non-standard feature */ | ||
32 | #ifndef FNM_LEADING_DIR | ||
33 | #define FNM_LEADING_DIR 0 | ||
34 | #endif | ||
35 | |||
31 | #define block_buf bb_common_bufsiz1 | 36 | #define block_buf bb_common_bufsiz1 |
32 | 37 | ||
33 | #if ENABLE_FEATURE_TAR_CREATE | 38 | #if ENABLE_FEATURE_TAR_CREATE |
diff --git a/include/platform.h b/include/platform.h index 9acba63e0..bfe631506 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -268,12 +268,6 @@ static ALWAYS_INLINE char* strchrnul(const char *s, char c) | |||
268 | # define lchown chown | 268 | # define lchown chown |
269 | #endif | 269 | #endif |
270 | 270 | ||
271 | /* THIS SHOULD BE CLEANED OUT OF THE TREE ENTIRELY */ | ||
272 | /* FIXME: fix tar.c! */ | ||
273 | #ifndef FNM_LEADING_DIR | ||
274 | #define FNM_LEADING_DIR 0 | ||
275 | #endif | ||
276 | |||
277 | #if (defined __digital__ && defined __unix__) | 271 | #if (defined __digital__ && defined __unix__) |
278 | #include <standards.h> | 272 | #include <standards.h> |
279 | #define HAVE_STANDARDS_H | 273 | #define HAVE_STANDARDS_H |