• Home
  • Raw
  • Download

Lines Matching refs:Flag

294 	Flag(FLOGIN) = (ord(*ccp) == ORD('-')) || (ord(*kshname) == ORD('-'));  in main_init()
304 Flag(FNOHUP) = 1; in main_init()
310 Flag(FBRACEEXPAND) = 1; in main_init()
315 Flag(FXTRACEREC) = 1; in main_init()
420 Flag(FVITABCOMPLETE) = 1; in main_init()
486 Flag(FPRIVILEGED) = (kshuid != ksheuid || kshgid != kshegid) ? 2 : 0; in main_init()
490 Flag(FMONITOR) = 127; in main_init()
508 } else if (Flag(FCOMMAND)) { in main_init()
522 if (Flag(FSH) && argv[argi] && !strcmp(argv[argi], "--")) in main_init()
527 } else if (argi < argc && !Flag(FSTDIN)) { in main_init()
555 Flag(FSTDIN) = 1; in main_init()
561 Flag(FTALKING) = Flag(FTALKING_I) = 1; in main_init()
570 if (Flag(FTALKING) && fstat(0, &s_stdin) >= 0 && in main_init()
577 if (Flag(FTALKING)) { in main_init()
666 restricted_shell |= Flag(FRESTRICTED); in main_init()
667 Flag(FRESTRICTED) = 0; in main_init()
668 errexit = Flag(FERREXIT); in main_init()
669 Flag(FERREXIT) = 0; in main_init()
690 if (!current_wd[0] && Flag(FTALKING)) in main_init()
693 if (Flag(FLOGIN)) in main_init()
695 if (Flag(FPRIVILEGED)) { in main_init()
698 if (Flag(FPRIVILEGED) == 1) in main_init()
700 Flag(FPRIVILEGED) = 3; in main_init()
705 baseline_flags[(int)FPRIVILEGED] = Flag(FPRIVILEGED); in main_init()
707 if (Flag(FLOGIN)) in main_init()
709 if (Flag(FTALKING)) { in main_init()
722 Flag(FRESTRICTED) = 1; in main_init()
726 Flag(FERREXIT) = errexit; in main_init()
728 if (Flag(FTALKING) && s) in main_init()
733 Flag(FTRACKALL) = 1; in main_init()
857 volatile bool interactive = (level == 0) && Flag(FTALKING); in shell()
895 if (Flag(FIGNOREEOF) && s->type == SEOF && wastty) in shell()
933 if (Flag(FVERBOSE)) in shell()
949 if (wastty && Flag(FIGNOREEOF) && --attempts > 0) { in shell()
969 if (!Flag(FNOEXEC) || (s->flags & SF_TTY)) in shell()
995 (!Flag(FTALKING) || Flag(FERREXIT)))) { in unwind()
1000 } else if (Flag(FERREXIT) && (i == LERROR || i == LERREXT || i == LINTR)) { in unwind()
1084 if (Flag(FTALKING)) in quitenv()
2164 if (Flag(FPOSIX) && UTFMODE && !old_utfmode) in recheck_ctype()