ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/init.C
(Generate patch)

Comparing deliantra/server/server/init.C (file contents):
Revision 1.18 by root, Sat Dec 16 17:16:52 2006 UTC vs.
Revision 1.19 by root, Sun Dec 17 23:10:35 2006 UTC

1267 1267
1268void 1268void
1269rec_sighup (int i) 1269rec_sighup (int i)
1270{ 1270{
1271 LOG (llevInfo, "\nSIGHUP received\n"); 1271 LOG (llevInfo, "\nSIGHUP received\n");
1272
1272 if (init_done) 1273 if (init_done)
1273 {
1274 emergency_save (0);
1275 cleanup (); 1274 cleanup ();
1276 } 1275
1277 exit (0); 1276 exit (0);
1278} 1277}
1279 1278
1280void 1279void
1281rec_sigquit (int i) 1280rec_sigquit (int i)
1302 1301
1303void 1302void
1304fatal_signal (int make_core, int close_sockets) 1303fatal_signal (int make_core, int close_sockets)
1305{ 1304{
1306 if (init_done) 1305 if (init_done)
1307 {
1308 cleanup (); 1306 cleanup ();
1309 //emergency_save (0);
1310 //clean_tmp_files (); 1307 //clean_tmp_files ();
1311 }
1312 1308
1313 if (make_core) 1309 if (make_core)
1314 abort (); 1310 abort ();
1315 1311
1316 exit (0); 1312 exit (0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines