improve MKSH_NOPWNAM handling, whether MKSH_SMALL or not; it will cause
the entire ~fac/ expansion code to be omitted
This commit is contained in:
4
main.c
4
main.c
@ -33,7 +33,7 @@
|
||||
#include <locale.h>
|
||||
#endif
|
||||
|
||||
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.133 2009/06/11 12:42:19 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.134 2009/07/25 20:26:32 tg Exp $");
|
||||
|
||||
extern char **environ;
|
||||
|
||||
@ -141,7 +141,7 @@ main(int argc, const char *argv[])
|
||||
/* set up variable and command dictionaries */
|
||||
ktinit(&taliases, APERM, 0);
|
||||
ktinit(&aliases, APERM, 0);
|
||||
#ifndef MKSH_SMALL
|
||||
#ifndef MKSH_NOPWNAM
|
||||
ktinit(&homedirs, APERM, 0);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user