Commit e2dea079 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(main): Call link_ansi().

parent a3dfe3da
/*
* $Id: dbck.c,v 0.68 2002/09/06 22:42:42 ceder Exp $
* $Id: dbck.c,v 0.69 2002/09/10 08:48:48 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -78,6 +78,7 @@
#include "unused.h"
#include "local-to-global.h"
#include "lockdb.h"
#include "linkansi.h"
#define OPT_PERS_PRESENTATION_CONF 1
......@@ -1424,6 +1425,8 @@ main (int argc,
int need_rw = 0;
int have_lock = 0;
link_ansi();
#ifdef TRACED_ALLOCATIONS
/* We must do this before we allocate any memory... */
{
......
/*
* $Id: komrunning.c,v 1.3 1999/05/16 19:12:40 ceder Exp $
* $Id: komrunning.c,v 1.4 2002/09/10 08:48:47 ceder Exp $
* Copyright (C) 1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -45,6 +45,7 @@
#include "server-config.h"
#include "param.h"
#include "pidfile.h"
#include "linkansi.h"
static void
usage(const char *arg0)
......@@ -153,6 +154,8 @@ main (int argc,
int saved_errno;
struct stat statbuf;
link_ansi();
/* Initialize the string handling package. */
s_set_storage_management(string_malloc, string_realloc, string_free);
......
/*
* $Id: ramkomd.c,v 0.102 2002/09/09 18:15:37 ceder Exp $
* $Id: ramkomd.c,v 0.103 2002/09/10 08:48:47 ceder Exp $
* Copyright (C) 1991-1999, 2001-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -110,6 +110,7 @@
#include "local-to-global.h"
#include "server-time.h"
#include "lockdb.h"
#include "linkansi.h"
#ifdef TRACED_ALLOCATIONS
# include "trace-alloc.h"
#endif
......@@ -472,6 +473,9 @@ main (int argc,
#ifdef HAVE_STRUCT_SIGACTION
struct sigaction act;
#endif
link_ansi();
current_time = time(NULL);
#ifdef TRACED_ALLOCATIONS
......
......@@ -44,6 +44,7 @@
#include "kom-config.h"
#include "server-config.h"
#include "param.h"
#include "linkansi.h"
/* The current version of splitkomdb uses three files to store all state.
You can restore the database with commands similar to these:
......@@ -293,6 +294,8 @@ main (int argc,
exit(1);
}
link_ansi();
argv0 = argv[0];
/* Initialize the string handling package. */
......
/*
* $Id: updateLysKOM.c,v 1.16 2001/11/03 18:03:48 ceder Exp $
* $Id: updateLysKOM.c,v 1.17 2002/09/10 08:48:47 ceder Exp $
* Copyright (C) 1994-1995, 1998-1999, 2001 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -59,6 +59,7 @@
#include "kom-config.h"
#include "server-config.h"
#include "param.h"
#include "linkansi.h"
static void
usage(const char *arg0)
......@@ -182,6 +183,8 @@ main (int argc,
exit(1);
}
link_ansi();
/* Initialize the string handling package. */
s_set_storage_management(string_malloc, string_realloc, string_free);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment