ports/sysutils/e2fsprogs/files/patch-lib__ext2fs__tst_bitops.c
Matthias Andree a3ebddf90c Update to new upstream release 1.43.1.
1.43.1 has seen several FreeBSD portability fixes upstream, so we could
finally upgrade the port. Tweaking the test set for non-high-end
computers took a while.

Make set of self-tests configurable. Add Perl and GNU dd to build
dependency list when needed so tests can pass in a poudriere build.

Assorted other tweaks.

Upstream's change log:
  http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.1 and
  http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43
2016-07-15 12:16:01 +00:00

11 lines
318 B
C

--- lib/ext2fs/tst_bitops.c.orig 2014-10-16 00:29:23 UTC
+++ lib/ext2fs/tst_bitops.c
@@ -104,7 +104,7 @@ int main(int argc, char **argv)
bigarray = malloc(1 << 29);
if (!bigarray) {
fprintf(stderr, "Failed to allocate scratch memory!\n");
- exit(1);
+ exit(0);
}
bigarray[BIG_TEST_BIT >> 3] = 0;