summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tinyproxy.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/tinyproxy.c b/src/tinyproxy.c
index f3bf169..03ca9b5 100644
--- a/src/tinyproxy.c
+++ b/src/tinyproxy.c
@@ -176,18 +176,6 @@ main(int argc, char **argv)
struct group *thisgroup = NULL;
FILE *config_file;
- /*
- * Disable the creation of CORE files right up front.
- */
-#if defined(HAVE_SETRLIMIT) && defined(NDEBUG)
- struct rlimit core_limit = { 0, 0 };
- if (setrlimit(RLIMIT_CORE, &core_limit) < 0) {
- fprintf(stderr, "%s: Could not set the core limit to zero.\n",
- argv[0]);
- exit(EX_SOFTWARE);
- }
-#endif /* HAVE_SETRLIMIT */
-
/* Only allow u+rw bits. This may be required for some versions
* of glibc so that mkstemp() doesn't make us vulnerable.
*/