Glenn Morris
8cabe764e9
Add 2008 to copyright years.
2008-01-08 04:37:27 +00:00
Glenn Morris
684d6f5bcc
Switch license to GPLv3 or later.
2007-07-25 05:19:07 +00:00
Glenn Morris
429ab54e01
Update copyright for years from Emacs 21 to present (mainly adding
...
2001).
2007-01-14 03:38:22 +00:00
Eli Zaretskii
d0ade32543
[HAVE_GETRLIMIT]: Don't define unconditionally. Don't include sys/resource.h
...
unless HAVE_GETRLIMIT is defined.
2006-03-11 15:45:47 +00:00
Richard M. Stallman
395d3972b1
(get_lim_data, lim_data, data_space_start): Moved from mem-limits.h.
...
(enum warnlevel): New data type.
(check_memory_limits): Rewrite the logic about warnings.
Use standard `struct rlimit'. Check return values for nonsense.
(memory_warnings): Always clear lim_data.
2006-03-11 15:24:02 +00:00
Richard M. Stallman
933f22f4f4
[HAVE_GETRLIMIT]: Include sys/resource.h.
...
(check_memory_limits) [HAVE_GETRLIMIT]: Use getrlimit.
2006-02-20 00:00:18 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Thien-Thi Nguyen
0b5538bd85
Update years in copyright notice; nfc.
2005-08-07 12:33:19 +00:00
Lute Kamstra
4fc5845fe8
Update FSF's address.
2005-07-04 16:49:24 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Juanma Barranquero
177c0ea743
Trailing whitespace deleted.
2003-02-04 14:56:31 +00:00
Andrew Innes
968e9c040a
(check_memory_limits) [REL_ALLOC]: Use real_morecore
...
when non-NULL instead of __morecore, to take account of buffer
memory. This also solves a problem with spurious memory warnings
on Windows.
2000-07-05 16:32:37 +00:00
Andrew Innes
b78e8d0afb
(memory_warnings) [WINDOWSNT]: Reset lim_data on each
...
run, since size can vary from run to run.
1999-02-20 20:50:20 +00:00
Erik Naggum
3b7ad313e0
Update FSF's address in the preamble.
1996-01-15 09:18:04 +00:00
Roland McGrath
18160b98ce
Include <config.h> instead of "config.h".
1993-09-10 06:15:46 +00:00
Richard M. Stallman
46b3623d72
(check_memory_limits): Use unsigned long to hold memory size values.
1993-06-30 20:18:30 +00:00
Roland McGrath
134994aee8
(check_memory_limits): Declare __morecore.
...
Remove unused variable `result'.
1992-10-15 23:44:00 +00:00
Roland McGrath
fd0654667e
(morecore_with_warning): Removed.
...
(check_memory_limits): New fn; most code from morecore_with_warning, but
only checks limits, doesn't do any work.
(memory_warnings): Set __after_morecore_hook to check_memory_limits;
don't set __morecore.
1992-10-15 23:29:28 +00:00
Roland McGrath
da396c5e1f
(warnfunction): Renamed to warn_function (was used inconsistently).
...
(morecore_with_warning, memory_warnings): Change callers (were inconsistent).
1992-10-12 19:59:52 +00:00
Roland McGrath
e231fd422e
mem_limits.h is now called mem-limits.h.
1992-10-12 18:55:05 +00:00
Richard M. Stallman
3b672b8f44
(morecore_with_warning): Reduce warnlevel when usage drops far enough.
...
(memory_warnings): Renamed from malloc_init.
Don't set lim_data or warnlevel. Use start_of_data if start is 0.
[!emacs]: Don't include config.h or lisp.h;
instead, use stddef.h. Define POINTER, SIZE, EXCEEDS_LISP_PTR.
(morecore_with_warning): Use EXCEEDS_LISP_PTR.
1992-10-11 20:39:15 +00:00
Joseph Arceneaux
94d7c01aae
entered into RCS
1992-06-30 22:41:21 +00:00