summaryrefslogtreecommitdiff
path: root/utility.c
diff options
context:
space:
mode:
authorErik Andersen2000-05-02 00:07:56 +0000
committerErik Andersen2000-05-02 00:07:56 +0000
commit5afc864422e8c572a13b3e48df47fd0e56cfbb74 (patch)
tree5a6ec9054284616133cdea4b62efdcbaddd061f9 /utility.c
parent3c1217cfad0fb72f458223ae73e1ce612f5e9efd (diff)
downloadbusybox-5afc864422e8c572a13b3e48df47fd0e56cfbb74.zip
busybox-5afc864422e8c572a13b3e48df47fd0e56cfbb74.tar.gz
More stuff
-Erik
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/utility.c b/utility.c
index 51c5133..b33b3c0 100644
--- a/utility.c
+++ b/utility.c
@@ -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;