more of this:

• shell flags are now handled in one single place (sh_flags.h)
• sync comments (between enum and array) and manpage with reality
• FMONITOR is now no longer needed for Hartz IV shells
This commit is contained in:
tg
2009-09-20 16:40:58 +00:00
parent 0cf2df79e9
commit 588921333e
7 changed files with 205 additions and 128 deletions

4
main.c
View File

@@ -33,7 +33,7 @@
#include <locale.h>
#endif
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.144 2009/09/06 17:42:13 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.145 2009/09/20 16:40:55 tg Exp $");
extern char **environ;
@@ -287,7 +287,9 @@ main(int argc, const char *argv[])
#endif
/* this to note if monitor is set on command line (see below) */
#ifndef MKSH_UNEMPLOYED
Flag(FMONITOR) = 127;
#endif
argi = parse_args(argv, OF_CMDLINE, NULL);
if (argi < 0)
exit(1);