freebsd-ports/sysutils/e2fsprogs/files/patch-lib__ext2fs__tst_bitops.c
Matthias Andree 8cd9199a7c - Update to new upstream release 1.42.9, release notes:
<http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.42.9>

- Add MAKE_ENV+=CHECK_CMD=@true to avoid build failures in intl/, which
  apparently does not include MCONFIG currently.

- Regenerate (and in two cases, modify) patches.
2014-01-07 00:00:23 +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 2014-01-06 23:26:48.000000000 +0100
@@ -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;