From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 30 19:50:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F6741065673 for ; Tue, 30 Jun 2009 19:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BC3898FC17 for ; Tue, 30 Jun 2009 19:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n5UJo1dV003621 for ; Tue, 30 Jun 2009 19:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n5UJo1FZ003614; Tue, 30 Jun 2009 19:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 30 Jun 2009 19:50:01 GMT Resent-Message-Id: <200906301950.n5UJo1FZ003614@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex de Kruijff Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E33A106566C for ; Tue, 30 Jun 2009 19:47:37 +0000 (UTC) (envelope-from akruijff@www.kruijff.org) Received: from rotring.dds.nl (rotring.dds.nl [85.17.178.138]) by mx1.freebsd.org (Postfix) with ESMTP id 3EB758FC25 for ; Tue, 30 Jun 2009 19:47:36 +0000 (UTC) (envelope-from akruijff@www.kruijff.org) Received: from localhost (localhost [127.0.0.1]) by rotring.dds.nl (Postfix) with ESMTP id 308E3272CED for ; Tue, 30 Jun 2009 21:47:36 +0200 (CEST) Received: from www.kruijff.org (195-241-9-169.adsl.dds.nl [195.241.9.169]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by rotring.dds.nl (Postfix) with ESMTP id 2B1D6272CE6; Tue, 30 Jun 2009 21:47:30 +0200 (CEST) Received: from Server1.lan (localhost [127.0.0.1]) by www.kruijff.org (8.13.6/8.13.6) with ESMTP id n5UJlU4W032108; Tue, 30 Jun 2009 21:47:30 +0200 (CEST) (envelope-from akruijff@Server1.lan) Received: (from root@localhost) by Server1.lan (8.13.6/8.13.6/Submit) id n5UJlTt1032107; Tue, 30 Jun 2009 21:47:29 +0200 (CEST) (envelope-from akruijff) Message-Id: <200906301947.n5UJlTt1032107@Server1.lan> Date: Tue, 30 Jun 2009 21:47:29 +0200 (CEST) From: Alex de Kruijff To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Alex de Kruijff Subject: ports/136194: [MAINTAINER] sysutils/samesame small bug fix X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alex de Kruijff List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 19:50:02 -0000 >Number: 136194 >Category: ports >Synopsis: [MAINTAINER] sysutils/samesame small bug fix >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jun 30 19:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alex de Kruijff >Release: >Organization: >Environment: >Description: >How-To-Repeat: >Fix: samefile and samearchive don't function properly. This is a quick fix patch file until I'm ready to release a new version. --- matchmatrix.diff begins here --- --- samesame-1.2/matchmatrix.cpp Fri May 22 12:45:27 2009 +++ samesame-1.3/matchmatrix.cpp Tue Jun 30 07:41:36 2009 @@ -35,6 +40,7 @@ arr[0] = ((signed char *)tmp) + n * sizeof(char **); for (size_t i = 1; i < n; ++i) arr[i] = arr[i - 1] + n - i + 1; + memset(arr[0], 0, (n + 1) * n / 2); #ifdef DEBUG if (tmp + n * sizeof(char **) + (n + 1) * n / 2 <= arr[n - 1]) { --- matchmatrix.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: