ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/main.C
(Generate patch)

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.173 by root, Wed Jan 11 19:55:34 2006 UTC vs.
Revision 1.175 by root, Thu Jan 12 00:35:39 2006 UTC

523 rs[Rs_perl_eval] = 0; 523 rs[Rs_perl_eval] = 0;
524 } 524 }
525 } 525 }
526#endif 526#endif
527 rxvt_perl.init (); 527 rxvt_perl.init ();
528 setlocale (LC_CTYPE, curlocale); // perl init destroys this info
528 HOOK_INVOKE ((this, HOOK_INIT, DT_END)); 529 HOOK_INVOKE ((this, HOOK_INIT, DT_END));
529 } 530 }
530#endif 531#endif
531 532
532 create_windows (argc, argv); 533 create_windows (argc, argv);
615 sw_int (this, &sig_handlers::sig_term) 616 sw_int (this, &sig_handlers::sig_term)
616 { 617 {
617 } 618 }
618} sig_handlers; 619} sig_handlers;
619 620
621char **rxvt_environ; // startup environment
622
620void 623void
621rxvt_init () 624rxvt_init ()
622{ 625{
626 rxvt_environ = environ;
627
623 /* 628 /*
624 * Save and then give up any super-user privileges 629 * Save and then give up any super-user privileges
625 * If we need privileges in any area then we must specifically request it. 630 * If we need privileges in any area then we must specifically request it.
626 * We should only need to be root in these cases: 631 * We should only need to be root in these cases:
627 * 1. write utmp entries on some systems 632 * 1. write utmp entries on some systems

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines