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

Comparing deliantra/server/common/utils.C (file contents):
Revision 1.51 by root, Mon Apr 23 18:09:57 2007 UTC vs.
Revision 1.52 by root, Fri Apr 27 14:41:37 2007 UTC

553fork_abort (const char *msg) 553fork_abort (const char *msg)
554{ 554{
555 if (!fork ()) 555 if (!fork ())
556 { 556 {
557 signal (SIGABRT, SIG_DFL); 557 signal (SIGABRT, SIG_DFL);
558 // try to put corefiles into a subdirectory, if existing, to allow
559 // an administrator to reduce the I/O load.
560 chdir ("cores");
558 abort (); 561 abort ();
559 } 562 }
560 563
561 LOG (llevError, "fork abort: %s\n", msg); 564 LOG (llevError, "fork abort: %s\n", msg);
562} 565}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines