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.44 by root, Tue Feb 19 13:37:17 2008 UTC vs.
Revision 1.45 by root, Tue Feb 19 18:58:05 2008 UTC

246 rxvt_log ("%s: unknown option '%s', aborting.\n", argv [0], argv [i]); 246 rxvt_log ("%s: unknown option '%s', aborting.\n", argv [0], argv [i]);
247 return EXIT_FAILURE; 247 return EXIT_FAILURE;
248 } 248 }
249 } 249 }
250 250
251 // optionally open display and never release it.
251 if (opt_opendisplay) 252 if (opt_opendisplay)
252 displays.get (getenv ("DISPLAY")); // open display and never release it 253 if (const char *dpy = getenv ("DISPLAY"))
254 displays.get (dpy ? dpy : ":0"); // move string logic into rxvt_display maybe?
253 255
254 char *sockname = rxvt_connection::unix_sockname (); 256 char *sockname = rxvt_connection::unix_sockname ();
255 unix_listener l (sockname); 257 unix_listener l (sockname);
256 258
257 chdir ("/"); 259 chdir ("/");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines