… | |
… | |
474 | #ifdef HAVE_SCROLLBARS |
474 | #ifdef HAVE_SCROLLBARS |
475 | if (OPTION (Opt_scrollBar)) |
475 | if (OPTION (Opt_scrollBar)) |
476 | scrollBar.setIdle (); /* set existence for size calculations */ |
476 | scrollBar.setIdle (); /* set existence for size calculations */ |
477 | #endif |
477 | #endif |
478 | |
478 | |
479 | pty = rxvt_new_ptytty (); |
479 | pty = ptytty_new (); |
480 | |
480 | |
481 | create_windows (argc, argv); |
481 | create_windows (argc, argv); |
482 | |
482 | |
483 | dDisp; |
483 | dDisp; |
484 | |
484 | |
… | |
… | |
559 | // start the helper process and drop privileges |
559 | // start the helper process and drop privileges |
560 | if (uid != geteuid () |
560 | if (uid != geteuid () |
561 | || gid != getegid ()) |
561 | || gid != getegid ()) |
562 | { |
562 | { |
563 | #if PTYTTY_HELPER |
563 | #if PTYTTY_HELPER |
564 | rxvt_ptytty_server (); |
564 | ptytty_server (); |
565 | #else |
565 | #else |
566 | rxvt_warn ("running setuid/setgid without pty helper compiled in, continuing unprivileged.\n"); |
566 | rxvt_warn ("running setuid/setgid without pty helper compiled in, continuing unprivileged.\n"); |
567 | #endif |
567 | #endif |
568 | |
568 | |
569 | // drop privileges |
569 | // drop privileges |