diff options
author | Erik Andersen | 2000-05-02 00:07:56 +0000 |
---|---|---|
committer | Erik Andersen | 2000-05-02 00:07:56 +0000 |
commit | 5afc864422e8c572a13b3e48df47fd0e56cfbb74 (patch) | |
tree | 5a6ec9054284616133cdea4b62efdcbaddd061f9 /utility.c | |
parent | 3c1217cfad0fb72f458223ae73e1ce612f5e9efd (diff) | |
download | busybox-5afc864422e8c572a13b3e48df47fd0e56cfbb74.zip busybox-5afc864422e8c572a13b3e48df47fd0e56cfbb74.tar.gz |
More stuff
-Erik
Diffstat (limited to 'utility.c')
-rw-r--r-- | utility.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -1037,15 +1037,6 @@ extern int replace_match(char *haystack, char *needle, char *newNeedle, while (where != NULL) { foundOne++; strcpy(oldhayStack, haystack); -#if 0 - if (strlen(newNeedle) > strlen(needle)) { - haystack = - (char *) realloc(haystack, - (unsigned) (strlen(haystack) - - strlen(needle) + - strlen(newNeedle))); - } -#endif for (slider = haystack, slider1 = oldhayStack; slider != where; slider++, slider1++); *slider = 0; |