diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-06-12 23:11:16 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-06-12 23:11:16 +0000 |
commit | 9f16d614083a96b521cbbca6d5c0b33da91991c4 (patch) | |
tree | 6ec4c6b71fc1728eb66011093f8ea3a2b8de5845 /utility.c | |
parent | 44760d058cda8cdea96b02f2594797d2b43b01eb (diff) | |
download | busybox-w32-9f16d614083a96b521cbbca6d5c0b33da91991c4.tar.gz busybox-w32-9f16d614083a96b521cbbca6d5c0b33da91991c4.tar.bz2 busybox-w32-9f16d614083a96b521cbbca6d5c0b33da91991c4.zip |
Added a slightly modified version of Ron Alder's insmod patch.
Very cool stuff.
-Erik
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -33,8 +33,8 @@ | |||
33 | || defined (BB_INSMOD) | 33 | || defined (BB_INSMOD) |
34 | /* same conditions as recursiveAction */ | 34 | /* same conditions as recursiveAction */ |
35 | #define bb_need_name_too_long | 35 | #define bb_need_name_too_long |
36 | #define bb_need_memory_exhausted | ||
37 | #endif | 36 | #endif |
37 | #define bb_need_memory_exhausted | ||
38 | #define BB_DECLARE_EXTERN | 38 | #define BB_DECLARE_EXTERN |
39 | #include "messages.c" | 39 | #include "messages.c" |
40 | 40 | ||
@@ -1056,7 +1056,7 @@ extern int replace_match(char *haystack, char *needle, char *newNeedle, | |||
1056 | #endif /* ! BB_REGEXP && (BB_GREP || BB_SED) */ | 1056 | #endif /* ! BB_REGEXP && (BB_GREP || BB_SED) */ |
1057 | 1057 | ||
1058 | 1058 | ||
1059 | #if defined BB_FIND | 1059 | #if defined BB_FIND || defined BB_INSMOD |
1060 | /* | 1060 | /* |
1061 | * Routine to see if a text string is matched by a wildcard pattern. | 1061 | * Routine to see if a text string is matched by a wildcard pattern. |
1062 | * Returns TRUE if the text is matched, or FALSE if it is not matched | 1062 | * 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) | |||
1156 | 1156 | ||
1157 | return TRUE; | 1157 | return TRUE; |
1158 | } | 1158 | } |
1159 | #endif /* BB_FIND */ | 1159 | #endif /* BB_FIND || BB_INSMOD */ |
1160 | 1160 | ||
1161 | 1161 | ||
1162 | 1162 | ||