[gdk-pixbuf/wip/otte/tga] tests: Don't set RLIMIT_AS
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf/wip/otte/tga] tests: Don't set RLIMIT_AS
- Date: Mon, 12 Oct 2015 15:17:48 +0000 (UTC)
commit bb6640b3a1e0f75d770f1674dd28abcc842db671
Author: Benjamin Otte <otte redhat com>
Date: Mon Oct 12 11:37:48 2015 +0200
tests: Don't set RLIMIT_AS
When using gio and threads, 64bit code gets unhappy about a limited
address space.
tests/pixbuf-randomly-modified.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/tests/pixbuf-randomly-modified.c b/tests/pixbuf-randomly-modified.c
index a6ae9ef..2c905c3 100644
--- a/tests/pixbuf-randomly-modified.c
+++ b/tests/pixbuf-randomly-modified.c
@@ -97,9 +97,6 @@ main (int argc, char **argv)
max_mem_size.rlim_cur = 100 * 1024 * 1024; /* 100M */
max_mem_size.rlim_max = max_mem_size.rlim_cur;
setrlimit (RLIMIT_DATA, &max_mem_size);
-#ifdef RLIMIT_AS
- setrlimit (RLIMIT_AS, &max_mem_size);
-#endif
#endif
g_test_init (&argc, &argv, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]