Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
adf62230
Commit
adf62230
authored
Nov 14, 1994
by
Per Cederqvist
Browse files
Include <sys/time.h>.
(initialize): Fixed typo.
parent
8251f16b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/ramkomd.c
View file @
adf62230
/*
* $Id: ramkomd.c,v 0.5
2
1994/1
0/24 00:34:39
ceder Exp $
* $Id: ramkomd.c,v 0.5
3
1994/1
1/14 23:37:13
ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -31,7 +31,7 @@
* It has grown! /ceder
*/
static
char
*
rcsid
=
"$Id: ramkomd.c,v 0.5
2
1994/1
0/24 00:34:39
ceder Exp $"
;
static
char
*
rcsid
=
"$Id: ramkomd.c,v 0.5
3
1994/1
1/14 23:37:13
ceder Exp $"
;
#include "rcs.h"
USE
(
rcsid
);
...
...
@@ -52,6 +52,7 @@ USE(rcsid);
#include <sys/wait.h>
#include <time.h>
#ifdef HAVE_SYS_RESOURCE_H
# include <sys/time.h>
# include <sys/resource.h>
#endif
#include <unistd.h>
...
...
@@ -322,7 +323,7 @@ initialize(const char *config_file)
#endif
#if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE)
if
(
param
.
no_file
!=
-
1
)
if
(
param
.
no_file
s
!=
-
1
)
{
if
(
getrlimit
(
RLIMIT_NOFILE
,
&
rlim
)
<
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment