ports/sysutils/e2fsprogs/files/patch-lib__ext2fs__tst_bitops.c
Matthias Andree 591e67d93a Update to new upstream release 1.42.8.
ChangeLog: <http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.42.8>

Switch to KERNEL_ORG site and enable USE_XZ for 25 % smaller download.
Switch to USE_CSTD=gnu99 (was gnu89).  Disable 2TB r_*_big_expand tests due
to their space requirements, reenable m_bigjournal, and also skip
f_extent_oobounds which breaks inside Tinderbox but is fine outside.
2013-06-27 22:41:11 +00:00

11 lines
338 B
C

--- ./lib/ext2fs/tst_bitops.c.orig 2012-07-06 15:37:27.000000000 +0200
+++ ./lib/ext2fs/tst_bitops.c 2013-06-27 00:38:52.000000000 +0200
@@ -104,7 +104,7 @@
bigarray = malloc(1 << 29);
if (!bigarray) {
fprintf(stderr, "Failed to allocate scratch memory!\n");
- exit(1);
+ exit(0);
}
bigarray[BIG_TEST_BIT >> 3] = 0;