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.64 by root, Thu Jun 17 00:08:35 2021 UTC vs.
Revision 1.67 by sf-exg, Fri Jul 23 19:18:52 2021 UTC

41# include <sys/mman.h> 41# include <sys/mman.h>
42#endif 42#endif
43 43
44#include <errno.h> 44#include <errno.h>
45 45
46#include <libptytty.h>
47
46#include "rxvt.h" 48#include "rxvt.h"
47#include "rxvtdaemon.h" 49#include "rxvtdaemon.h"
48#include "libptytty.h"
49 50
50struct server : rxvt_connection 51struct server : rxvt_connection
51{ 52{
52 log_callback log_cb; 53 log_callback log_cb;
53 getfd_callback getfd_cb; 54 getfd_callback getfd_cb;
205 206
206 try 207 try
207 { 208 {
208 term->init (argv, envv); 209 term->init (argv, envv);
209 } 210 }
210 catch (const class rxvt_failure_exception &e) 211 catch (const std::exception &e)
211 { 212 {
213 log_msg (e.what());
212 success = false; 214 success = false;
213 } 215 }
214 216
215 term->log_hook = 0; 217 term->log_hook = 0;
216 218
274#endif 276#endif
275 277
276int 278int
277main (int argc, char *argv[]) 279main (int argc, char *argv[])
278{ 280{
281 try
282 {
279 ptytty::init (); 283 ptytty::init ();
284 }
285 catch (const std::exception &e)
286 {
287 fputs (e.what (), stderr);
288 return EXIT_FAILURE;
289 }
280 290
281 static char opt_fork, opt_opendisplay, opt_quiet; 291 static char opt_fork, opt_opendisplay, opt_quiet;
282#if ENABLE_PERL 292#if ENABLE_PERL
283 static char *opt_eval; 293 static char *opt_eval;
284#endif 294#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines