mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 18:54:38 +00:00
os: don't mix declarations and code
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user