[gdk-pixbuf] tests: Don't set RLIMIT_AS
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf] tests: Don't set RLIMIT_AS
- Date: Tue, 13 Oct 2015 01:02:39 +0000 (UTC)
commit 12bd0e2fff525e716d7ee8c96855912fb56b25be
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]