mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 07:00:31 -04:00
PR: ports/150618 Submitted by: Oliver Fromme <olli@secnetix.de> Approved by: Gianmarco Giovannelli <gmarco@gufi.org> (maintainer) Obtained from: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/704cef5251497a4f675f5554fa763c18fb622a5b
11 lines
436 B
C
11 lines
436 B
C
--- ./hclink.c.orig 2010-09-25 18:01:27.989863475 -0400
|
|
+++ ./hclink.c 2010-09-25 18:01:46.138176079 -0400
|
|
@@ -388,7 +388,7 @@
|
|
hcc_check_space(hctransaction_t trans, struct HCHead *head, int n, int size)
|
|
{
|
|
size = HCC_ALIGN(size) + n * sizeof(struct HCLeaf);
|
|
- if (size > HC_BUFSIZE - trans->windex) {
|
|
+ if (size >= HC_BUFSIZE - trans->windex) {
|
|
struct HCHead *whead = (void *)trans->wbuf;
|
|
|
|
whead->cmd |= HCF_CONTINUE;
|