1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Add patch-emacs.c to fix the following problem as quoted from the PR:

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.

PR: 69347
Submitted by: Andrew Heybey <ath@niksun.com>
This commit is contained in:
Gary Jennejohn 2004-07-21 21:56:24 +00:00
parent 88af4195a1
commit 6a027d62cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114371
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- src/emacs.c.orig Sun Mar 9 03:37:54 2003
+++ src/emacs.c Tue Jul 20 21:59:42 2004
@@ -398,7 +398,7 @@
/* Number of bytes of writable memory we can expect to be able to get:
Leave this as an unsigned int because it could potentially be 4G */
-unsigned int lim_data;
+rlim_t lim_data;
/* WARNING!

View File

@ -0,0 +1,11 @@
--- 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!