svn commit: trunk/busybox: archival include

vda at busybox.net vda at busybox.net
Wed Feb 13 17:06:54 UTC 2008


Author: vda
Date: 2008-02-13 09:06:53 -0800 (Wed, 13 Feb 2008)
New Revision: 21007

Log:
tar: move FNM_LEADING_DIR #define to tar.c - no other users.
Closes bug 1332.



Modified:
   trunk/busybox/archival/tar.c
   trunk/busybox/include/platform.h


Changeset:
Modified: trunk/busybox/archival/tar.c
===================================================================
--- trunk/busybox/archival/tar.c	2008-02-13 16:52:00 UTC (rev 21006)
+++ trunk/busybox/archival/tar.c	2008-02-13 17:06:53 UTC (rev 21007)
@@ -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

Modified: trunk/busybox/include/platform.h
===================================================================
--- trunk/busybox/include/platform.h	2008-02-13 16:52:00 UTC (rev 21006)
+++ trunk/busybox/include/platform.h	2008-02-13 17:06:53 UTC (rev 21007)
@@ -268,12 +268,6 @@
 # define lchown chown
 #endif
 
-/* THIS SHOULD BE CLEANED OUT OF THE TREE ENTIRELY */
-/* FIXME: fix tar.c! */
-#ifndef FNM_LEADING_DIR
-#define FNM_LEADING_DIR 0
-#endif
-
 #if (defined __digital__ && defined __unix__)
 #include <standards.h>
 #define HAVE_STANDARDS_H




More information about the busybox-cvs mailing list