Changeset 2294 for trunk/src/kash/var.c
- Timestamp:
- Feb 28, 2009, 9:33:26 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/var.c
r2290 r2294 255 255 vp->next = *vpp; 256 256 *vpp = vp; 257 vp->text = s trdup(ip->text);257 vp->text = sh_strdup(psh, ip->text); 258 258 vp->flags = ip->flags; 259 259 vp->func = ip->func; … … 265 265 psh->vps1.next = *vpp; 266 266 *vpp = &psh->vps1; 267 psh->vps1.text = s trdup(sh_geteuid(psh) ? "PS1=$ " : "PS1=# ");267 psh->vps1.text = sh_strdup(psh, sh_geteuid(psh) ? "PS1=$ " : "PS1=# "); 268 268 psh->vps1.flags = VSTRFIXED|VTEXTFIXED; 269 269 }
Note:
See TracChangeset
for help on using the changeset viewer.