← Commit list

87cf2ee8a

Denis Vlasenko
Denis Vlasenko
2008-02-13
FAILED Duration: 14s

Subject

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

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

archival/tar.c+5 -0
@@ -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
include/platform.h+0 -6
@@ -268,12 +268,6 @@ static ALWAYS_INLINE char* strchrnul(const char *s, char c)
# 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