summaryrefslogtreecommitdiff
path: root/xserver
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-12-20 07:26:38 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-12-20 07:26:38 +0000
commit908a5408b297a30d402b9a1610de073a99155d18 (patch)
treee4860f7f72463df8ad0147dbb27aa6985b10f9c9 /xserver
parentcd4dc0d1c6da0db9334588c9402b9bc0b8f7ad6c (diff)
Fix build with gcc 2.95. ok todd@.
Diffstat (limited to 'xserver')
-rw-r--r--xserver/os/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/os/utils.c b/xserver/os/utils.c
index 5b49956df..d0f6d4f3b 100644
--- a/xserver/os/utils.c
+++ b/xserver/os/utils.c
@@ -805,13 +805,13 @@ ProcessCommandLine(int argc, char *argv[])
}
else if ( strcmp( argv[i], "-core") == 0)
{
- CoreDump = TRUE;
#if !defined(WIN32) || !defined(__MINGW32__)
struct rlimit core_limit;
getrlimit (RLIMIT_CORE, &core_limit);
core_limit.rlim_cur = core_limit.rlim_max;
setrlimit (RLIMIT_CORE, &core_limit);
#endif
+ CoreDump = TRUE;
}
else if ( strcmp( argv[i], "-dpi") == 0)
{