ash: rename stack_nputstr() back to stnputs() to match dash
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 @@
}
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 @@
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 @@
}
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);