aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-06-21 19:41:37 +0000
committerMatt Kraai <kraai@debian.org>2001-06-21 19:41:37 +0000
commitceeff7381929930fe8d7e33543e285d5fdcf1c68 (patch)
tree3cdbaddffecc92649215fdc71a43b4e8e86b7ea3 /editors
parent091781e20eb055ac286b5a617d53a50c7d6c451e (diff)
downloadbusybox-w32-ceeff7381929930fe8d7e33543e285d5fdcf1c68.tar.gz
busybox-w32-ceeff7381929930fe8d7e33543e285d5fdcf1c68.tar.bz2
busybox-w32-ceeff7381929930fe8d7e33543e285d5fdcf1c68.zip
Rewrote mkdir (and touched lots of things in the process).
Diffstat (limited to 'editors')
-rw-r--r--editors/sed.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/editors/sed.c b/editors/sed.c
index e7208b0b5..89b16682f 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -195,15 +195,6 @@ static int get_address(struct sed_cmd *sed_cmd, const char *str, int *linenum, r
195 return idx; 195 return idx;
196} 196}
197 197
198static char *strdup_substr(const char *str, int start, int end)
199{
200 int size = end - start + 1;
201 char *newstr = xmalloc(size);
202 memcpy(newstr, str+start, size-1);
203 newstr[size-1] = '\0';
204 return newstr;
205}
206
207static int parse_subst_cmd(struct sed_cmd *sed_cmd, const char *substr) 198static int parse_subst_cmd(struct sed_cmd *sed_cmd, const char *substr)
208{ 199{
209 int oldidx, cflags = REG_NEWLINE; 200 int oldidx, cflags = REG_NEWLINE;