From: Nicholas Heath Date: Wed, 16 Jan 2013 18:25:33 +0000 (+0000) Subject: Fixed bug in getrlimit as core dumps are supported now. X-Git-Tag: v3.2.1~93 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=1bbba6353db05f027743689ab0091c353ba11214;p=minix.git Fixed bug in getrlimit as core dumps are supported now. --- diff --git a/lib/libc/sys-minix/getrlimit.c b/lib/libc/sys-minix/getrlimit.c index 291e3daab..dce895bdb 100644 --- a/lib/libc/sys-minix/getrlimit.c +++ b/lib/libc/sys-minix/getrlimit.c @@ -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: