summaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
authorGlenn L McGrath2000-09-11 05:06:13 +0000
committerGlenn L McGrath2000-09-11 05:06:13 +0000
commitac19b7e032c3d4449d08ea9ae438192b6a15170d (patch)
tree52ffefdbe3511583509b1d8db239fd95e4a27ecf /utility.c
parent49352adf9c96c05babe78fa99ddaa7caaf440655 (diff)
downloadbusybox-ac19b7e032c3d4449d08ea9ae438192b6a15170d.zip
busybox-ac19b7e032c3d4449d08ea9ae438192b6a15170d.tar.gz
Extra defines for ar
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/utility.c b/utility.c
index c68b97a..8827b4a 100644
--- a/utility.c
+++ b/utility.c
@@ -231,7 +231,7 @@ void reset_ino_dev_hashtable(void)
#endif /* BB_CP_MV || BB_DU */
-#if defined (BB_CP_MV) || defined (BB_DU) || defined (BB_LN)
+#if defined (BB_CP_MV) || defined (BB_DU) || defined (BB_LN) || defined (BB_AR)
/*
* Return TRUE if a fileName is a directory.
* Nonexistant files return FALSE.
@@ -433,7 +433,7 @@ copyFile(const char *srcName, const char *destName,
-#if defined BB_TAR || defined BB_LS
+#if defined BB_TAR || defined BB_LS ||defined BB_AR
#define TYPEINDEX(mode) (((mode) >> 12) & 0x0f)
#define TYPECHAR(mode) ("0pcCd?bB-?l?s???" [TYPEINDEX(mode)])
@@ -692,7 +692,7 @@ int recursiveAction(const char *fileName,
-#if defined (BB_TAR) || defined (BB_MKDIR)
+#if defined (BB_TAR) || defined (BB_MKDIR) || defined (BB_AR)
/*
* Attempt to create the directories along the specified path, except for
* the final component. The mode is given for the final directory only,
@@ -727,7 +727,7 @@ extern int createPath(const char *name, int mode)
#if defined (BB_CHMOD_CHOWN_CHGRP) || defined (BB_MKDIR) \
- || defined (BB_MKFIFO) || defined (BB_MKNOD)
+ || defined (BB_MKFIFO) || defined (BB_MKNOD) || defined (BB_AR)
/* [ugoa]{+|-|=}[rwxst] */