diff options
author | Denys Vlasenko | 2020-02-22 19:11:41 +0100 |
---|---|---|
committer | Denys Vlasenko | 2020-02-24 12:47:19 +0100 |
commit | 538ee4102b3eb046be1a74026d7c74642f9c7d13 (patch) | |
tree | 02e69e4d7932b4f45df86a5079b0e8f2905dc017 /shell | |
parent | c2058ec98cf3f6722be4436cae07a386e3c7b48d (diff) | |
download | busybox-538ee4102b3eb046be1a74026d7c74642f9c7d13.zip busybox-538ee4102b3eb046be1a74026d7c74642f9c7d13.tar.gz |
ash: rename stack_nputstr() back to stnputs() to match dash
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c index 0134610..b290b6d 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -1761,7 +1761,7 @@ makestrspace(size_t newlen, char *p) } static char * -stack_nputstr(const char *s, size_t n, char *p) +stnputs(const char *s, size_t n, char *p) { p = makestrspace(n, p); p = (char *)mempcpy(p, s, n); @@ -1771,7 +1771,7 @@ stack_nputstr(const char *s, size_t n, char *p) static char * stack_putstr(const char *s, char *p) { - return stack_nputstr(s, strlen(s), p); + return stnputs(s, strlen(s), p); } static char * @@ -6756,7 +6756,7 @@ argstr(char *p, int flags) } if (length > 0) { int newloc; - expdest = stack_nputstr(p, length, expdest); + expdest = stnputs(p, length, expdest); newloc = expdest - (char *)stackblock(); if (breakall && !inquotes && newloc > startloc) { recordregion(startloc, newloc, 0); |