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.29 by pcg, Wed Feb 11 08:13:45 2004 UTC vs.
Revision 1.30 by pcg, Thu Feb 12 01:53:25 2004 UTC

321 */ 321 */
322/* EXTPROTO */ 322/* EXTPROTO */
323RETSIGTYPE 323RETSIGTYPE
324rxvt_Exit_signal(int sig) 324rxvt_Exit_signal(int sig)
325{ 325{
326 signal(sig, SIG_DFL); 326 signal (sig, SIG_DFL);
327#ifdef DEBUG_CMD 327#ifdef DEBUG_CMD
328 rxvt_print_error("signal %d", sig); 328 rxvt_print_error ("signal %d", sig);
329#endif 329#endif
330 rxvt_clean_exit(); 330 rxvt_clean_exit();
331 kill(getpid(), sig); 331 kill (getpid (), sig);
332} 332}
333 333
334/* INTPROTO */ 334/* INTPROTO */
335int 335int
336rxvt_xerror_handler (Display *display, XErrorEvent *event) 336rxvt_xerror_handler (Display *display, XErrorEvent *event)
353 */ 353 */
354/* EXTPROTO */ 354/* EXTPROTO */
355void 355void
356rxvt_clean_exit () 356rxvt_clean_exit ()
357{ 357{
358 // TODO: rxvtd should clean up all ressources
359 if (GET_R)
358 GET_R->destroy (); 360 GET_R->destroy ();
359} 361}
360 362
361/* ------------------------------------------------------------------------- * 363/* ------------------------------------------------------------------------- *
362 * MEMORY ALLOCATION WRAPPERS * 364 * MEMORY ALLOCATION WRAPPERS *
363 * ------------------------------------------------------------------------- */ 365 * ------------------------------------------------------------------------- */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines