summaryrefslogtreecommitdiff
path: root/src/mem-limits.h
Commit message (Collapse)AuthorAgeFilesLines
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-2/+0
|
* Merge from emacs-23Stefan Monnier2011-01-141-1/+1
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | * src/mem-limits.h: Remove duplicated includes.Dan Nicolaescu2010-07-281-16/+1
| | | | | | | | | | | | | | (NULL): Remove definition, unused. (POINTER): Remove definition. (start_of_data): Use char* in prototype, as the function definition does.
* | Cygwin build cleanup (Bug#6715).Ken Brown2010-07-251-4/+0
| | | | | | | | | | * mem-limits.h (BSD4_2) [cygwin]: Don't define here; instead... * vm-limit.c: ...add 'defined (CYGWIN)' here.
* | Simplify start_of_data, start_of_text and related code.Dan Nicolaescu2010-07-071-33/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/mem-limits.h: Remove !emacs and _LIBC conditional code. (start_of_data): Merge into start_of_data function. * src/sysdep.c (start_of_text): Remove. Move simplified versions of it in the only users: src/unexaix.c and unexec.c. (read_input_waiting): Remove local declaration of quit_char. (start, etext): Remove declarations. (start_of_data): Merge with the version in mem-limits.h and move to vm-limits.c. * src/vm-limit.c (start_of_data): Merged and simplified version of the code formerly in mem-limits.h and sysdep.c. * src/unexec.c (start): New declaration, moved from sysdep.c. (start_of_text): Simplified version of the code formerly in sysdep.c. * unexaix.c (start_of_text): Simplified version of the code formerly in sysdep.c. * src/m/alpha.h (HAVE_TEXT_START): Remove. (TEXT_START): Move ... * src/unexalpha.c (TEXT_START): ... here. * src/s/hpux10-20.h (TEXT_START): Remove. * src/s/darwin.h (TEXT_START): * src/m/mips.h (TEXT_START): * src/m/macppc.h (HAVE_TEXT_START): * src/m/m68k.h (TEXT_START): * src/m/iris4d.h (TEXT_START): * src/m/intel386.h (TEXT_START): * src/m/ibmrs6000.h (TEXT_START): * src/m/ia64.h (HAVE_TEXT_START): * src/s/msdos.h (TEXT_START): Likewise.
* | Convert declarations or definitions to standard C.Dan Nicolaescu2010-07-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xsmfns.c (smc_save_yourself_CB, smc_error_handler): * src/xrdb.c (get_system_name): * src/window.c (shrink_windows): * src/syntax.c (forw_comment): * src/scroll.c (calculate_scrolling, calculate_direct_scrolling) (ins_del_costs): * src/mem-limits.h (start_of_data): * src/lread.c (readevalloop): * src/gtkutil.c (xg_dialog_response_cb, xg_get_file_with_chooser) (xg_get_file_with_selection, xg_update_menubar, xg_update_submenu): * src/frame.c (x_get_focus_frame): * src/floatfns.c (fmod_float): * src/fileio.c (choose_write_coding_system): * src/emacs.c (fatal_error_signal, init_cmdargs, argmatch) (malloc_initialize_hook, sort_args, synchronize_locale): * src/doprnt.c (doprnt): * src/dired.c (compile_pattern): * src/data.c (fmod_float): * src/chartab.c (map_sub_char_table, map_sub_char_table_for_charset) (map_char_table_for_charset): * src/charset.c (define_charset_internal): * src/alloc.c (Fgarbage_collect): Convert declarations or definitions to standard C.
* | Cleanup old code.Dan Nicolaescu2010-07-021-9/+1
|/ | | | | | | | * src/dired.c (BSD4_3): Remove all uses, redundant with BSD4_2. * src/syssignal.h: Remove code for Lynx, not supported anymore. * src/vm-limit.c: Remove unused code the depends on emacs not being defined and NO_LIM_DATA being defined. * src/mem-limits.h: Remove dead code.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Add 2009 to copyright years.Glenn Morris2009-01-081-1/+1
|
* * unexnext.c:Dan Nicolaescu2008-06-261-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * m/ews4800.h: * m/hp9000s300.h: * m/ibm370aix.h: * m/mips-siemens.h: * m/ncr386.h: * m/next.h: * m/pmax.h: * m/powerpcle.h: * m/tandem-s2.h: * s/386bsd.h: * s/bsd386.h: * s/bsd4-1.h: * s/bsd4-2.h: * s/bsdos2-1.h: * s/bsdos2.h: * s/bsdos3.h: * s/bsdos4.h: * s/nextstep.h: * s/ultrix4-3.h: * s/usg5-0.h: * s/usg5-2-2.h: * s/usg5-2.h: * s/usg5-4-3.h: * s/ux4800.h: * s/uxpds.h: * s/uxpv.h: Remove support for obsolete systems. * s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h: Remove, insert contents in s/hpux-10.20.h * s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h: Remove, insert contents in s/aix-4.2.h * s/usg5-3.h: Remove, insert contents in s/usg5-4.h. * s/bsd4-3.h: Rename to .. * s/bsd-common.h: ... this. * src/data.c: * src/doc.c: * src/ecrt0.c: * src/emacs.c: * src/fileio.c: * src/floatfns.c: * src/keyboard.c: * src/mem-limits.h: * src/print.c: * src/process.c: * src/sysdep.c: * src/syssignal.h: * src/systty.h: * src/syswait.h: * src/term.c: * src/unexec.c: * src/unexelf.c: * src/unexhp9k800.c: * src/m/hp800.h: * src/m/ibmrs6000.h: * src/m/mips.h: * src/m/vax.h: * src/s/darwin.h: * src/s/freebsd.h: * src/s/gnu.h: * src/s/ms-w32.h: * src/s/msdos.h: * src/s/netbsd.h: * src/s/template.h: Remove references to obsolete variables. * Makefile.in: Add dependencies for all unexec files. (admindir): Remove unused variable. (UNEXEC_SRC): Remove references. * config.nt: Remove reference to UNEXEC_SRC. * lwlib.c: Remove references to obsolete variables. * fakemail.c: Remove references to obsolete variables. * os.texi: Remove references to obsolete systems. * configure.in: * configure: Remove references to obsolete systems.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-151-6/+4
|
* Add 2008 to copyright years.Glenn Morris2008-01-081-1/+1
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* Update copyright for years from Emacs 21 to present (mainly addingGlenn Morris2007-01-141-2/+2
| | | | 2001).
* (get_lim_data, lim_data, data_space_start): Moved to vm-limit.c.Richard M. Stallman2006-03-111-86/+0
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (EXCEEDS_LISP_PTR) [USE_LSB_TAG]: Never true.Stefan Monnier2004-06-011-2/+4
|
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* Use HAVE_SYS_RESOURCE_H, HAVE_SYS_VLIMIT_H.Dave Love2003-06-021-3/+7
|
* Cygwin support patch.Juanma Barranquero2003-01-311-0/+4
|
* [MSDOS]: Declare etext.Eli Zaretskii2002-08-191-0/+1
|
* (start_of_data): If DATA_START is defined, preferKen Raeburn2002-07-241-0/+6
| | | | its value over other approaches.
* Test GNU_LINUX, not LINUX.Richard M. Stallman2001-12-111-1/+1
|
* Use POINTER_TYPE.Dave Love2000-03-081-5/+1
|
* (get_lim_data): Use reserved_heap_size instead ofAndrew Innes1999-01-171-2/+2
| | | | data_region_size.
* Replaced symbol BSD with BSD_SYSTEM.Karl Heuer1996-09-171-1/+1
|
* (lim_data): Make this an unsigned long.Karl Heuer1996-07-111-1/+1
|
* [_LIBC]: Use weak_extern instead of weak_symbol for __data_start.Roland McGrath1996-07-081-2/+2
|
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* Declare etext.Roland McGrath1995-11-161-1/+1
|
* [_LIBC] (start_of_data): Use weak ref to __data_start; use &etext if notRoland McGrath1995-11-161-3/+4
| | | | present.
* Comment change.Richard M. Stallman1995-06-141-4/+4
|
* [_LIBC] (start_of_data): Define to &__data_start for GNU libc.Roland McGrath1995-06-121-4/+6
|
* [WINDOWSNT]: Don't include vlimit.h.Richard M. Stallman1994-11-011-0/+13
| | | | (get_lim_data): Alternate definition for WINDOWSNT.
* Check for __alpha, in __osf__ conditional.Richard M. Stallman1994-09-171-3/+3
| | | | (EXCEEDS_LISP_PTR): Use EMACS_UINT.
* (get_lim_data): Handle NO_LIM_DATA.Richard M. Stallman1994-04-211-0/+9
|
* Include <sys/types.h> before <sys/resource.h>.Roland McGrath1994-01-091-1/+4
|
* [MSDOS] (get_lim_data): Use go32 call.Richard M. Stallman1994-01-081-2/+19
|
* [_LIBC]: Define BSD4_2.Roland McGrath1993-07-231-0/+1
|
* [_LIBC]: Just include <sys/resource.h>, and skip hairy #ifdef mess.Roland McGrath1993-07-221-0/+8
|
* [__bsdi__]: Define BSD4_2.Richard M. Stallman1993-05-311-1/+5
|
* Changes for OSF/1:Jim Blandy1993-05-251-1/+6
| | | | | | | * mem-limits.h [__osf__ && (__mips || mips)]: #include <sys/time.h> and <sys/resource.h>. (get_lim_data): OSF wants a definition like BSD4_2's. * s/osf1.h: #include "bsd4-3.h", not "s-bsd4-3.h".
* Updated copyright years.Jim Blandy1993-05-221-1/+1
|
* Some more changes from Michael K. Johnson for Linux.Jim Blandy1993-05-201-4/+11
| | | | | | | | | | | | | | | | | * s/template.h: Mention that you should #define HAVE_TERMIO or HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred. * systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of tcsetpgrp to *pgid; it's just a status value. * config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux systems using XFree386, and perhaps is inappropriate in general. * m/intel386.h: #undefine the integer size macros, since the Linux <values.h> file #defines them itself. * mem-limits.h (get_lim_data): Linux has the ulimit call; if it fails, fall back on ULIMIT_BREAK_VALUE. * process.c: Linux needs the WAITTYPE, etc. definitions. * unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type; no need to use SYSV names. * s/linux.h: New file.
* * mem-limits.h [DATA_SEG_BITS] (EXCEEDS_LISP_PTR): Remember toJim Blandy1992-11-161-0/+5
| | | | | remove DATA_SEG_BITS from the pointer before testing if the pointer fits in VALBITS.
* (get_lim_data): Make it static.Richard M. Stallman1992-10-201-3/+3
|