]> Zhao Yanbai Git Server - minix.git/commitdiff
Fixed bug in getrlimit as core dumps are supported now.
authorNicholas Heath <nicheath+gitcommit@gmail.com>
Wed, 16 Jan 2013 18:25:33 +0000 (18:25 +0000)
committerBen Gras <ben@minix3.org>
Thu, 17 Jan 2013 14:06:35 +0000 (14:06 +0000)
lib/libc/sys-minix/getrlimit.c

index 291e3daabb7c953143542e107ce1c224ed5dc22f..dce895bdb15f8d96e2bfdc8775ea5f8fdbf29f5b 100644 (file)
@@ -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: