Stub for setrlimit

Change-Id: I54c7233d71805711bd72e1e751456aad30fd3e35
This commit is contained in:
2014-04-28 10:05:45 +02:00
parent e39e890e08
commit ac5b3e53d8
10 changed files with 49 additions and 25 deletions

View File

@@ -374,13 +374,10 @@ sig_cleanup(int which_sig)
static int
gen_init(void)
{
#if !defined(__minix)
struct rlimit reslimit;
#endif /* !defined(__minix) */
struct sigaction n_hand;
struct sigaction o_hand;
#if !defined(__minix)
/*
* Really needed to handle large archives. We can run out of memory for
* internal tables really fast when we have a whole lot of files...
@@ -416,7 +413,6 @@ gen_init(void)
(void)setrlimit(RLIMIT_RSS , &reslimit);
}
#endif
#endif /* !defined(__minix) */
/*
* Handle posix locale