From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 20 16:30:27 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88CFC16A4D0 for ; Tue, 20 Jul 2004 16:30:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6708843D55 for ; Tue, 20 Jul 2004 16:30:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6KGURcv072438 for ; Tue, 20 Jul 2004 16:30:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6KGURH1072436; Tue, 20 Jul 2004 16:30:27 GMT (envelope-from gnats) Resent-Date: Tue, 20 Jul 2004 16:30:27 GMT Resent-Message-Id: <200407201630.i6KGURH1072436@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, Andrew Heybey Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B4D9D16A4CE for ; Tue, 20 Jul 2004 16:23:48 +0000 (GMT) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6772A43D55 for ; Tue, 20 Jul 2004 16:23:48 +0000 (GMT) (envelope-from ath@niksun.com) Received: from stiegl.mj.niksun.com (stiegl.mj.niksun.com [10.70.0.231]) i6KGNlRl004951 for ; Tue, 20 Jul 2004 12:23:47 -0400 (EDT) (envelope-from ath@stiegl.mj.niksun.com) Received: by stiegl.mj.niksun.com (Postfix, from userid 1002) id A285416C4E; Tue, 20 Jul 2004 12:23:47 -0400 (EDT) Message-Id: <20040720162347.A285416C4E@stiegl.mj.niksun.com> Date: Tue, 20 Jul 2004 12:23:47 -0400 (EDT) From: Andrew Heybey To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/69347: xemacs spews many "past acceptable memory limits" warning messages X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew Heybey List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 16:30:27 -0000 >Number: 69347 >Category: ports >Synopsis: xemacs spews many "past acceptable memory limits" warning messages >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 20 16:30:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Andrew Heybey >Release: FreeBSD 4.9-RELEASE-p5 i386 >Organization: Niksun, Inc. >Environment: System: FreeBSD stiegl.mj.niksun.com 4.9-RELEASE-p5 FreeBSD 4.9-RELEASE-p5 #0: Tue Apr 20 22:35:25 EDT 2004 ath@stiegl.mj.niksun.com:/scratch/obj/x/src/sys/STIEGL i386 Ports tree cvsup'ed sometime last week. >Description: The port patches src/mem-limits.h to declare the "lim_data" variable as rlim_t (a 64-bit type), but src/emacs.c still defines it as an integer. This makes the memory limit checking think that there are zero bytes available. >How-To-Repeat: Install the editors/xemacs port. Run xemacs. See the warning messages. >Fix: Put this diff in files/patch-emacs.c of the port. --- src/emacs.c.orig Wed Jan 15 07:18:00 2003 +++ src/emacs.c Tue Jul 20 12:02:41 2004 @@ -344,7 +344,7 @@ #endif /* Number of bytes of writable memory we can expect to be able to get */ -unsigned int lim_data; +rlim_t lim_data; /* WARNING! >Release-Note: >Audit-Trail: >Unformatted: