Attempting to fix daemon issues.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2126 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-03-17 22:44:17 +00:00
parent 7839d35975
commit 6551885f92
2 changed files with 5 additions and 0 deletions

View file

@ -405,6 +405,7 @@ int main (int c, char **v)
// static char cwd[1024];
signal(SIGFPE, SIG_IGN);
signal(SIGPIPE, SIG_IGN);
memset(&parms, 0, sizeof(parms));

View file

@ -17,9 +17,11 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <signal.h>
#include <sys/types.h>
#include "qwsvdef.h"
#undef malloc
#ifdef NeXT
@ -650,6 +652,7 @@ int main(int argc, char *argv[])
// extern int net_socket;
int j;
signal(SIGPIPE, SIG_IGN);
tcgetattr(STDIN_FILENO, &orig);
changes = orig;
@ -660,6 +663,7 @@ int main(int argc, char *argv[])
parms.argc = com_argc;
parms.argv = com_argv;
parms.memsize = 16*1024*1024;
j = COM_CheckParm("-mem");