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.48 by root, Fri May 8 23:52:55 2009 UTC vs.
Revision 1.51 by root, Sun Oct 24 17:34:47 2010 UTC

222 } 222 }
223 else 223 else
224 return err (); 224 return err ();
225} 225}
226 226
227int opt_fork, opt_opendisplay, opt_quiet;
228#if ENABLE_MLOCK
229int opt_lock;
230#endif
231
232int 227int
233main (int argc, const char *const *argv) 228main (int argc, const char *const *argv)
234{ 229{
230 int opt_fork, opt_opendisplay, opt_quiet;
231#if ENABLE_MLOCK
232 int opt_lock;
233#endif
234
235 rxvt_init (); 235 rxvt_init ();
236 236
237 for (int i = 1; i < argc; i++) 237 for (int i = 1; i < argc; i++)
238 { 238 {
239 if (!strcmp (argv [i], "-f") || !strcmp (argv [i], "--fork")) 239 if (!strcmp (argv [i], "-f") || !strcmp (argv [i], "--fork"))
292 return EXIT_FAILURE; 292 return EXIT_FAILURE;
293 } 293 }
294 else if (pid > 0) 294 else if (pid > 0)
295 _exit (EXIT_SUCCESS); 295 _exit (EXIT_SUCCESS);
296 296
297 ev_default_fork (); 297 ev_loop_fork (EV_DEFAULT_UC);
298 } 298 }
299 299
300 ev_loop (0); 300 ev_run ();
301 301
302 return EXIT_SUCCESS; 302 return EXIT_SUCCESS;
303} 303}
304 304

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines