{0, 0}
};
-static int expand_dotnode(struct op *);
struct op *scantree(struct op *);
static struct op *dowholefile(int, int);
shell = lookup("SHELL");
if (shell->value == null)
- setval(shell, DEFAULT_SHELL);
+ setval(shell, (char *)DEFAULT_SHELL);
export(shell);
homedir = lookup("HOME");
}
-static int expand_dotnode(node)
-struct op *node;
-{
- struct op *outtree_save = outtree;
-
- node->type = TDOT;
- newfile(node->words[1]);
-
- node->left = dowholefile(TDOT, 0);
-
- node->right = NULL;
-
- outtree = outtree_save;
-
- return (1);
-}
-
struct op *scantree(head)
struct op *head;
{