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.19 by root, Wed Feb 9 08:32:57 2005 UTC vs.
Revision 1.20 by root, Mon Feb 14 20:46:47 2005 UTC

194 } 194 }
195 195
196 term->log_hook = 0; 196 term->log_hook = 0;
197 197
198 environ = old_environ; 198 environ = old_environ;
199 chdir ("/");
199 200
200 if (!success) 201 if (!success)
201 term->destroy (); 202 term->destroy ();
202 203
203 send ("END"); send (success ? 1 : 0); 204 send ("END"); send (success ? 1 : 0);
213int 214int
214main (int argc, const char *const *argv) 215main (int argc, const char *const *argv)
215{ 216{
216 rxvt_init (); 217 rxvt_init ();
217 218
219 chdir ("/");
220
218 char *sockname = rxvt_connection::unix_sockname (); 221 char *sockname = rxvt_connection::unix_sockname ();
219 unix_listener l (sockname); 222 unix_listener l (sockname);
220 printf ("rxvt-unicode daemon listening on %s.\n", sockname); 223 printf ("rxvt-unicode daemon listening on %s.\n", sockname);
221 fflush (stdout); 224 fflush (stdout);
222 free (sockname); 225 free (sockname);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines