ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/vped.C
(Generate patch)

Comparing gvpe/src/vped.C (file contents):
Revision 1.15 by pcg, Thu Jan 29 18:55:10 2004 UTC vs.
Revision 1.17 by pcg, Mon May 10 20:04:25 2004 UTC

149*/ 149*/
150void cleanup_and_exit(int c) 150void cleanup_and_exit(int c)
151{ 151{
152 network.shutdown_all (); 152 network.shutdown_all ();
153 153
154 if (pidfilename) 154 if (conf.pidfilename)
155 remove_pid (pidfilename); 155 remove_pid (conf.pidfilename);
156 156
157 slog (L_INFO, _("terminating with exit code %d"), c); 157 slog (L_INFO, _("terminating with exit code %d"), c);
158 158
159 exit (c); 159 exit (c);
160} 160}
246 if (do_mlock) 246 if (do_mlock)
247 if (mlockall (MCL_CURRENT | MCL_FUTURE)) 247 if (mlockall (MCL_CURRENT | MCL_FUTURE))
248 slog (L_ERR, _("system call `%s' failed: %s"), "mlockall", strerror (errno)); 248 slog (L_ERR, _("system call `%s' failed: %s"), "mlockall", strerror (errno));
249#endif 249#endif
250 250
251 conf.read_config (true);
251 make_names (); 252 make_names ();
252 conf.read_config (true);
253 253
254 set_loglevel (llevel != L_NONE ? llevel : conf.llevel); 254 set_loglevel (llevel != L_NONE ? llevel : conf.llevel);
255 255
256 RAND_load_file ("/dev/urandom", 1024); 256 RAND_load_file ("/dev/urandom", 1024);
257 257

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines