… | |
… | |
191 | catch (const class rxvt_failure_exception &e) |
191 | catch (const class rxvt_failure_exception &e) |
192 | { |
192 | { |
193 | success = false; |
193 | success = false; |
194 | } |
194 | } |
195 | |
195 | |
|
|
196 | term->log_hook = 0; |
|
|
197 | |
196 | environ = old_environ; |
198 | environ = old_environ; |
197 | |
199 | |
198 | if (!success) |
200 | if (!success) |
199 | term->destroy (); |
201 | term->destroy (); |
200 | |
202 | |
… | |
… | |
218 | printf ("rxvtd listening on %s.\n", sockname); |
220 | printf ("rxvtd listening on %s.\n", sockname); |
219 | free (sockname); |
221 | free (sockname); |
220 | |
222 | |
221 | iom.loop (); |
223 | iom.loop (); |
222 | |
224 | |
223 | #if 0 |
|
|
224 | if (rxvt_init (argc, argv) == NULL) |
|
|
225 | return EXIT_FAILURE; |
|
|
226 | |
|
|
227 | dR; |
|
|
228 | rxvt_main_loop (aR); /* main processing loop */ |
|
|
229 | #endif |
|
|
230 | return EXIT_SUCCESS; |
225 | return EXIT_SUCCESS; |
231 | } |
226 | } |
232 | |
227 | |