mirror of
https://github.com/sheumann/hush.git
synced 2025-01-04 22:34:37 +00:00
tar: move FNM_LEADING_DIR #define to tar.c - no other users.
Closes bug 1332.
This commit is contained in:
parent
d5fe880a57
commit
87cf2ee8ab
@ -28,6 +28,11 @@
|
|||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include "unarchive.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
|
#define block_buf bb_common_bufsiz1
|
||||||
|
|
||||||
#if ENABLE_FEATURE_TAR_CREATE
|
#if ENABLE_FEATURE_TAR_CREATE
|
||||||
|
@ -268,12 +268,6 @@ static ALWAYS_INLINE char* strchrnul(const char *s, char c)
|
|||||||
# define lchown chown
|
# define lchown chown
|
||||||
#endif
|
#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__)
|
#if (defined __digital__ && defined __unix__)
|
||||||
#include <standards.h>
|
#include <standards.h>
|
||||||
#define HAVE_STANDARDS_H
|
#define HAVE_STANDARDS_H
|
||||||
|
Loading…
Reference in New Issue
Block a user