Fixed bug in getrlimit as core dumps are supported now.
This commit is contained in:
parent
b1c4ba4ab6
commit
1bbba6353d
1 changed files with 0 additions and 4 deletions
|
@ -21,10 +21,6 @@ int getrlimit(int resource, struct rlimit *rlp)
|
|||
switch (resource)
|
||||
{
|
||||
case RLIMIT_CORE:
|
||||
/* no core currently produced */
|
||||
limit = 0;
|
||||
break;
|
||||
|
||||
case RLIMIT_CPU:
|
||||
case RLIMIT_DATA:
|
||||
case RLIMIT_FSIZE:
|
||||
|
|
Loading…
Reference in a new issue