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

Comparing rxvt-unicode/src/rxvtd.C (file contents):
Revision 1.5 by pcg, Thu Nov 27 10:12:10 2003 UTC vs.
Revision 1.7 by pcg, Fri Jan 16 22:11:09 2004 UTC

151} 151}
152 152
153int 153int
154main(int argc, const char *const *argv) 154main(int argc, const char *const *argv)
155{ 155{
156 {
157 sigset_t ss;
158
159 sigaddset (&ss, SIGHUP);
160 sigaddset (&ss, SIGPIPE);
161 sigprocmask (SIG_BLOCK, &ss, 0);
162 }
163
164 rxvt_init_signals (); 156 rxvt_init_signals ();
165 157
166 char *sockname = rxvt_connection::unix_sockname (); 158 char *sockname = rxvt_connection::unix_sockname ();
167 unix_listener l (sockname); 159 unix_listener l (sockname);
168 printf ("rxvtd listening on %s.\n", sockname); 160 printf ("rxvtd listening on %s.\n", sockname);
177 dR; 169 dR;
178 rxvt_main_loop(aR); /* main processing loop */ 170 rxvt_main_loop(aR); /* main processing loop */
179#endif 171#endif
180 return EXIT_SUCCESS; 172 return EXIT_SUCCESS;
181} 173}
174

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines