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.262 by ayin, Wed Nov 21 09:15:33 2007 UTC vs.
Revision 1.264 by root, Sat Nov 24 11:06:13 2007 UTC

309 delete argv; 309 delete argv;
310 310
311#ifdef KEYSYM_RESOURCE 311#ifdef KEYSYM_RESOURCE
312 delete keyboard; 312 delete keyboard;
313#endif 313#endif
314#ifndef NO_RESOURCES
315 XrmDestroyDatabase (option_db);
316#endif
314} 317}
315 318
316// child has exited, usually destroys 319// child has exited, usually destroys
317void 320void
318rxvt_term::child_cb (ev::child &w, int status) 321rxvt_term::child_cb (ev::child &w, int status)
619void 622void
620rxvt_init () 623rxvt_init ()
621{ 624{
622 ptytty::init (); 625 ptytty::init ();
623 626
624 if (!ev::ev_default_loop (0)) 627 if (!ev_default_loop (0))
625 rxvt_fatal ("cannot initialise libev (bad value for LIBEV_METHODS?)\n"); 628 rxvt_fatal ("cannot initialise libev (bad value for LIBEV_METHODS?)\n");
626 629
627 rxvt_environ = environ; 630 rxvt_environ = environ;
628 631
629 signal (SIGHUP, SIG_IGN); 632 signal (SIGHUP, SIG_IGN);
630 signal (SIGPIPE, SIG_IGN); 633 signal (SIGPIPE, SIG_IGN);
631 634
632 sig_handlers.sw_term.start (SIGTERM); ev::ev_unref (); 635 sig_handlers.sw_term.start (SIGTERM); ev_unref ();
633 sig_handlers.sw_int.start (SIGINT); ev::ev_unref (); 636 sig_handlers.sw_int.start (SIGINT); ev_unref ();
634 637
635 /* need to trap SIGURG for SVR4 (Unixware) rlogin */ 638 /* need to trap SIGURG for SVR4 (Unixware) rlogin */
636 /* signal (SIGURG, SIG_DFL); */ 639 /* signal (SIGURG, SIG_DFL); */
637 640
638 old_xerror_handler = XSetErrorHandler ((XErrorHandler) rxvt_xerror_handler); 641 old_xerror_handler = XSetErrorHandler ((XErrorHandler) rxvt_xerror_handler);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines