diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-11-09 01:47:36 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-11-09 01:47:36 +0000 |
commit | 96a388f135a05d099b01a8473c927b4db77a1489 (patch) | |
tree | 81d4cfe9ec9b5281924f678c28f61542616a3db7 /regexp.c | |
parent | 11db1ae1cfedd521f0642378589e1743fdb07f10 (diff) | |
download | busybox-w32-96a388f135a05d099b01a8473c927b4db77a1489.tar.gz busybox-w32-96a388f135a05d099b01a8473c927b4db77a1489.tar.bz2 busybox-w32-96a388f135a05d099b01a8473c927b4db77a1489.zip |
Stuff
git-svn-id: svn://busybox.net/trunk/busybox@87 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'regexp.c')
-rw-r--r-- | regexp.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 | } |