aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index e028d0fcd..28d2f5b9a 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -13351,6 +13351,19 @@ SLIST_COPY_BEGIN(localvar_copy,struct localvar)
13351(*vpp)->vp = var_copy(vp->vp); 13351(*vpp)->vp = var_copy(vp->vp);
13352SAVE_PTR2((*vpp)->vp, (*vpp)->text); 13352SAVE_PTR2((*vpp)->vp, (*vpp)->text);
13353SLIST_COPY_END() 13353SLIST_COPY_END()
13354
13355/*
13356 * struct strlist
13357 */
13358SLIST_SIZE_BEGIN(strlist_size,struct strlist)
13359funcstringsize += strlen(p->text) + 1;
13360nodeptrsize++; /* p->text */
13361SLIST_SIZE_END()
13362
13363SLIST_COPY_BEGIN(strlist_copy,struct strlist)
13364(*vpp)->text = nodeckstrdup(vp->text);
13365SAVE_PTR((*vpp)->text);
13366SLIST_COPY_END()
13354/*- 13367/*-
13355 * Copyright (c) 1989, 1991, 1993, 1994 13368 * Copyright (c) 1989, 1991, 1993, 1994
13356 * The Regents of the University of California. All rights reserved. 13369 * The Regents of the University of California. All rights reserved.