summaryrefslogtreecommitdiff
path: root/regexp.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-11-09 01:47:36 +0000
committerEric Andersen <andersen@codepoet.org>1999-11-09 01:47:36 +0000
commit50d6360771be509737bb55b2cc5bc5e25f2a4fea (patch)
tree81d4cfe9ec9b5281924f678c28f61542616a3db7 /regexp.c
parentfbb39c83b69d6c4de943c0b7374000339635d13d (diff)
downloadbusybox-w32-50d6360771be509737bb55b2cc5bc5e25f2a4fea.tar.gz
busybox-w32-50d6360771be509737bb55b2cc5bc5e25f2a4fea.tar.bz2
busybox-w32-50d6360771be509737bb55b2cc5bc5e25f2a4fea.zip
Stuff
Diffstat (limited to 'regexp.c')
-rw-r--r--regexp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/regexp.c b/regexp.c
index 164f88037..5500b1da7 100644
--- a/regexp.c
+++ b/regexp.c
@@ -50,7 +50,6 @@ extern int replace_match(char *haystack, char *needle, char *newNeedle, int igno
50 } while (regexec(re, s, FALSE, ignoreCase) == TRUE); 50 } while (regexec(re, s, FALSE, ignoreCase) == TRUE);
51 /* copy stuff from after the match */ 51 /* copy stuff from after the match */
52 while ( (*d++ = *s++) ) {} 52 while ( (*d++ = *s++) ) {}
53 d[-1] = '\n';
54 d[0] = '\0'; 53 d[0] = '\0';
55 strcpy(haystack, buf); 54 strcpy(haystack, buf);
56 } 55 }