mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-04 14:10:32 +01:00
os: don't mix declarations and code
This commit is contained in:
parent
f43a3c61ab
commit
63ff7d236f
1 changed files with 1 additions and 1 deletions
|
|
@ -656,13 +656,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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue