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.7 by pcg, Fri Jan 16 22:11:09 2004 UTC vs.
Revision 1.8 by pcg, Fri Feb 13 12:16:21 2004 UTC

138 environ = envv.begin (); 138 environ = envv.begin ();
139 139
140 rxvt_init (argv.size (), argv.begin ()); 140 rxvt_init (argv.size (), argv.begin ());
141 141
142 environ = old_environ; 142 environ = old_environ;
143 envv.clear (); // can't yet save the env 'cause rxvt modifies it :( 143 envv.clear (); // can't yet save the env 'cause rxvt modifies it : (
144 } 144 }
145 } 145 }
146 else 146 else
147 return err ("protocol error: request '%s' unsupported.", (char *)tok); 147 return err ("protocol error: request '%s' unsupported.", (char *)tok);
148 } 148 }
149 else 149 else
150 return err (); 150 return err ();
151} 151}
152 152
153int 153int
154main(int argc, const char *const *argv) 154main (int argc, const char *const *argv)
155{ 155{
156 rxvt_init_signals (); 156 rxvt_init_signals ();
157 157
158 char *sockname = rxvt_connection::unix_sockname (); 158 char *sockname = rxvt_connection::unix_sockname ();
159 unix_listener l (sockname); 159 unix_listener l (sockname);
161 free (sockname); 161 free (sockname);
162 162
163 iom.loop (); 163 iom.loop ();
164 164
165#if 0 165#if 0
166 if (rxvt_init(argc, argv) == NULL) 166 if (rxvt_init (argc, argv) == NULL)
167 return EXIT_FAILURE; 167 return EXIT_FAILURE;
168 168
169 dR; 169 dR;
170 rxvt_main_loop(aR); /* main processing loop */ 170 rxvt_main_loop (aR); /* main processing loop */
171#endif 171#endif
172 return EXIT_SUCCESS; 172 return EXIT_SUCCESS;
173} 173}
174 174

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines