diff options
author | Gary Jennejohn <gj@FreeBSD.org> | 2004-07-21 21:56:24 +0000 |
---|---|---|
committer | Gary Jennejohn <gj@FreeBSD.org> | 2004-07-21 21:56:24 +0000 |
commit | 6a027d62cd373ad75f9ab0af72c1dd77b0d07159 (patch) | |
tree | 362d3fdc4226e656ff68ecbd1273e4c12ddad1b6 /editors/xemacs | |
parent | 88af4195a180ac4ad791aafb47d565766cb05c94 (diff) |
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>
Notes
Notes:
svn path=/head/; revision=114371
Diffstat (limited to 'editors/xemacs')
-rw-r--r-- | editors/xemacs/files/patch-emacs.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/xemacs/files/patch-emacs.c b/editors/xemacs/files/patch-emacs.c new file mode 100644 index 000000000000..0d633424c209 --- /dev/null +++ b/editors/xemacs/files/patch-emacs.c @@ -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! + |