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