aboutsummaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-06-12 23:11:16 +0000
committerEric Andersen <andersen@codepoet.org>2000-06-12 23:11:16 +0000
commit9f16d614083a96b521cbbca6d5c0b33da91991c4 (patch)
tree6ec4c6b71fc1728eb66011093f8ea3a2b8de5845 /utility.c
parent44760d058cda8cdea96b02f2594797d2b43b01eb (diff)
downloadbusybox-9f16d614083a96b521cbbca6d5c0b33da91991c4.tar.gz
Added a slightly modified version of Ron Alder's insmod patch.
Very cool stuff. -Erik
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/utility.c b/utility.c
index c0dd98f74..48aaeb85d 100644
--- a/utility.c
+++ b/utility.c
@@ -33,8 +33,8 @@
|| defined (BB_INSMOD)
/* same conditions as recursiveAction */
#define bb_need_name_too_long
-#define bb_need_memory_exhausted
#endif
+#define bb_need_memory_exhausted
#define BB_DECLARE_EXTERN
#include "messages.c"
@@ -1056,7 +1056,7 @@ extern int replace_match(char *haystack, char *needle, char *newNeedle,
#endif /* ! BB_REGEXP && (BB_GREP || BB_SED) */
-#if defined BB_FIND
+#if defined BB_FIND || defined BB_INSMOD
/*
* Routine to see if a text string is matched by a wildcard pattern.
* Returns TRUE if the text is matched, or FALSE if it is not matched
@@ -1156,7 +1156,7 @@ extern int check_wildcard_match(const char *text, const char *pattern)
return TRUE;
}
-#endif /* BB_FIND */
+#endif /* BB_FIND || BB_INSMOD */