diff options
| author | Ron Yorston <rmy@pobox.com> | 2026-03-11 10:14:49 +0000 |
|---|---|---|
| committer | Ron Yorston <rmy@pobox.com> | 2026-03-11 10:14:49 +0000 |
| commit | ede205bd07573813337b5706acb0cae3b127a36f (patch) | |
| tree | 1f79073ae9b7fa6fc8bd6b5f090380fd972f77dc /libbb/replace.c | |
| parent | b8b19b18ad8f189e1a6f52043dabe8d38d19b883 (diff) | |
| parent | e527bd22dbda697d09d4dff8786c6290d79d577a (diff) | |
| download | busybox-w32-ede205bd07573813337b5706acb0cae3b127a36f.tar.gz busybox-w32-ede205bd07573813337b5706acb0cae3b127a36f.tar.bz2 busybox-w32-ede205bd07573813337b5706acb0cae3b127a36f.zip | |
Merge branch 'busybox' into merge
Diffstat (limited to 'libbb/replace.c')
| -rw-r--r-- | libbb/replace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/replace.c b/libbb/replace.c index bc26b04cc..273330f8a 100644 --- a/libbb/replace.c +++ b/libbb/replace.c | |||
| @@ -28,7 +28,8 @@ unsigned FAST_FUNC count_strstr(const char *str, const char *sub) | |||
| 28 | 28 | ||
| 29 | char* FAST_FUNC xmalloc_substitute_string(const char *src, int count, const char *sub, const char *repl) | 29 | char* FAST_FUNC xmalloc_substitute_string(const char *src, int count, const char *sub, const char *repl) |
| 30 | { | 30 | { |
| 31 | char *buf, *dst, *end; | 31 | char *buf, *dst; |
| 32 | const char *end; | ||
| 32 | size_t sub_len = strlen(sub); | 33 | size_t sub_len = strlen(sub); |
| 33 | size_t repl_len = strlen(repl); | 34 | size_t repl_len = strlen(repl); |
| 34 | 35 | ||
