Lines Matching refs:spaths
81 char **spaths, **cpaths, **cmds; in dosetpath() local
118 spaths = xmalloc(npaths * sizeof *spaths); in dosetpath()
119 setzero(spaths, npaths * sizeof *spaths); in dosetpath()
130 spaths[i] = xmalloc((Strlen(pathvars[i]) + strlen(val) + 2) * in dosetpath()
131 sizeof **spaths); in dosetpath()
132 (void) strcpy(spaths[i], short2str(pathvars[i])); in dosetpath()
133 (void) strcat(spaths[i], "="); in dosetpath()
134 (void) strcat(spaths[i], val); in dosetpath()
135 cpaths[i] = spaths[i]; in dosetpath()
149 if (spaths) { in dosetpath()
151 xfree(spaths[i]); in dosetpath()
152 xfree(spaths); in dosetpath()