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