Date: Tue, 20 Jul 2004 12:23:47 -0400 (EDT) From: Andrew Heybey <ath@niksun.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/69347: xemacs spews many "past acceptable memory limits" warning messages Message-ID: <20040720162347.A285416C4E@stiegl.mj.niksun.com> Resent-Message-ID: <200407201630.i6KGURH1072436@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040720162347.A285416C4E>