1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-16 11:20:54 +01:00

zsh-workers/9938

This commit is contained in:
Tanaka Akira 2000-02-29 16:14:13 +00:00
parent dd02ad2a86
commit a9c104adb8

View file

@ -967,14 +967,16 @@ scanpmmodules(HashTable ht, ScanFunc func, int flags)
static void
dirssetfn(Param pm, char **x)
{
char **ox = x;
if (!incleanup) {
freelinklist(dirstack, freestr);
dirstack = znewlinklist();
while (x && *x)
zaddlinknode(dirstack, ztrdup(*x++));
}
if (x)
freearray(x);
if (ox)
freearray(ox);
}
/**/