aboutsummaryrefslogtreecommitdiff
path: root/archivers/lzo2/files/patch-lzotest__lzotest.c
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2011-08-24 11:24:02 +0000
committerMatthias Andree <mandree@FreeBSD.org>2011-08-24 11:24:02 +0000
commite2d213985f38f6b16191feb2dd3f700ac581eb22 (patch)
tree929b040e9444e543ecebb332ef79752aea0d5ea8 /archivers/lzo2/files/patch-lzotest__lzotest.c
parente9cbeb5fad601df88650f8e183e262c8d58257be (diff)
downloadports-e2d213985f38f6b16191feb2dd3f700ac581eb22.tar.gz
ports-e2d213985f38f6b16191feb2dd3f700ac581eb22.zip
Notes
Diffstat (limited to 'archivers/lzo2/files/patch-lzotest__lzotest.c')
-rw-r--r--archivers/lzo2/files/patch-lzotest__lzotest.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/archivers/lzo2/files/patch-lzotest__lzotest.c b/archivers/lzo2/files/patch-lzotest__lzotest.c
index 7a2c5cc84561..edee28fcb4ea 100644
--- a/archivers/lzo2/files/patch-lzotest__lzotest.c
+++ b/archivers/lzo2/files/patch-lzotest__lzotest.c
@@ -9,19 +9,6 @@
long opt_c_loops = 0;
long opt_d_loops = 0;
-@@ -380,10 +380,12 @@
- fprintf(stderr, "%s: out of memory (wanted %lu bytes)\n", progname, (unsigned long)mb->alloc_len);
- exit(EXIT_MEM);
- }
-+#if 0
- if (__lzo_align_gap(mb->alloc_ptr, (lzo_uint) sizeof(lzo_align_t)) != 0) {
- fprintf(stderr, "%s: C library problem: malloc() returned mis-aligned pointer!\n", progname);
- exit(EXIT_MEM);
- }
-+#endif
-
- mb->ptr = mb->alloc_ptr + extra_bottom;
- mb->len = mb->saved_len = len;
@@ -1929,6 +1931,7 @@
if ((*s == '/' || *s == '\\') && s[1])
progname = s + 1;