aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu-linux.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make GCPROs and UNGCPRO no-ops also on SuperH.Thien-Thi Nguyen2009-05-101-1/+1
| | | | * s/gnu-linux.h: Make GCPROs and UNGCPRO no-ops also on SuperH.
* Add 2009 to copyright years.Glenn Morris2009-01-081-1/+1
|
* Reorganize implementation of Flist_system_processes andDan Nicolaescu2008-12-191-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fsystem_process_attributes. No functional changes. * process.c: Don't #include pwd.h, grp.h and limits.h. (Flist_system_processes): Just call list_system_processes. (Fsystem_process_attributes): Just call system_process_attributes. (procfs_list_system_processes, time_from_jiffies) (ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR) (procfs_get_total_memory, procfs_system_process_attributes): Move ... * sysdep.c: ... here. Include pwd.h, grp.h and limits.h. (list_system_processes): Rename from procfs_list_system_processes. Enclose in #ifdef HAVE_PROCFS. Provide a do nothing implementation. (system_process_attributes): Rename from procfs_list_system_processes. (ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR) (procfs_get_total_memory): Enclose in #ifdef GNU_LINUX. * w32.c (list_system_processes): Rename from w32_list_system_processes. (system_process_attributes): Rename from w32_system_process_attributes. * s/gnu-linux.h (LISTPROC, PROCATTR): Remove. * process.h (w32_list_system_processes) (w32_system_process_attributes): Remove. (list_system_processes, system_process_attributes): New prototypes. * config.nt (LISTPROC, PROCATTR): Remove.
* * gmalloc.c (__sbrk): Also define for uClibc.Dan Nicolaescu2008-10-021-2/+6
| | | | | * s/gnu-linux.h (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Add definition for uClibc.
* (HAVE_PROCFS, LISTPROC, PROCATTR): New defines.Eli Zaretskii2008-08-021-0/+5
|
* * m/amdx86-64.h (HAVE_LIB64_DIR): Consolidate ifdefs.Dan Nicolaescu2008-07-241-1/+1
| | | | | | | | | | * m/alpha.h (TEXT_END): * m/ibmrs6000.h (TEXT_END): * m/macppc.h (TEXT_END): * s/darwin.h (TEXT_END): * s/msdos.h (TEXT_END): Remove, unused. * s/gnu-linux.h (BSD_PGRPS): Add a comment. * s/cygwin.h: Remove comment.
* * config.in: Regenerate.Dan Nicolaescu2008-07-231-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * s/ms-w32.h (subprocesses): Define unconditionally. * s/template.h (subprocesses): Update comment. * s/vms.h (subprocesses): * s/usg5-4.h (subprocesses): * s/hpux10-20.h (subprocesses): * s/gnu-linux.h (subprocesses): * s/cygwin.h (subprocesses): * s/bsd-common.h (subprocesses): * s/aix4-2.h (subprocesses): * s/darwin.h (subprocesses): Do not define, defined by default now. * Makefile.in (C_SWITCH_SITE, LD_SWITCH_SITE): Remove, unused. Remove all references. (temacs): Add GNUStep specific ld flags. * Makefile.in (ALL_CFLAGS): Remove reference to C_SWITCH_SITE. * config.nt (C_SWITCH_SITE, LD_SWITCH_SITE): Do not undefine. * Makefile.in (ALL_CFLAGS): Remove reference to C_SWITCH_SITE. * configure.in (LD_SWITCH_SITE): Remove, set the values directly in src/Makefile.in. (static): Remove, autoconf would always comment it out anyway. (subprocesses): Define unconditionally.
* * s/usg5-4.h (LIBS_SYSTEM): Remove, system for which this wasDan Nicolaescu2008-07-201-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | added not supported anymore. * s/usg5-4-2.h (LIBS_SYSTEM): * s/sol2.h (LIBS_SYSTEM): Do not undefine. * s/netbsd.h (GETPGRP_NO_ARG, N_TRELOFF): * s/lynxos.h (GETPGRP_NO_ARG): * s/hpux10-20.h (NO_SIOCTL_H): * s/gnu.h (GETPGRP_NO_ARG): * s/gnu-linux.h (NO_SIOCTL_H): * s/freebsd.h (GETPGRP_NO_ARG, N_TRELOFF): * s/cygwin.h (GETPGRP_NO_ARG): * s/irix6-5.h (LIBS_SYSTEM, GETPGRP_NO_ARG): Remove, unused. (C_DEBUG_SWITCH): Remove duplicate definition. * m/ibms390.h: Remove boilerplate comments. * sysdep.c (closedir): Use SOLARIS2 instead of sun && USG5_4. * process.c (HAVE_SERIAL): Consolidate ifdefs. (wait_reading_process_output): Remove code for SunOS, platform not supported anymore. Use SOLARIS2 instead of sun.
* Remove boilerplate comments.Dan Nicolaescu2008-07-161-2/+0
|
* * systty.h: Remove code for Aix on 386, unsupported platform.Dan Nicolaescu2008-07-161-23/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * s/ms-w32.h: Remove boilerplate comments. (fcloseall, fgetchar, flushall, fputchar, getw, putw): Remove, unused. * s/gnu-linux.h (TERM): Remove support. (HAVE_SYSVIPC): Remove, unused. (A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Remove, not used for this system. * process.c: Remove support for IRIS, unused. Remove support for TERM, not relevant anymore. * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Remove, replace the only used with the definition. * s/aix4-2.h (static): Do not undef. * m/ibmrs6000.h: Remove code depending on USG5_4, this file is only used on Aix. (HAVE_SYSVIPC): Remove, unused. * m/hp800.h (CANNOT_DUMP): Do not undef. * m/alpha.h: Fix comment. * s/usg5-4.h (HAVE_SYSVIPC): Remove, unused. (USG_SHARED_LIBRARIES): Remove, only used in unexec.c which is not used by this configuration. * emacs.c: Remove code depending on USG_SHARED_LIBRARIES. * unexec.c: Remove code depending on HPUX and USG_SHARED_LIBRARIES, not used with this file. Remove code depending on IRIS, unused. Remove if 0-ed code.
* * config.nt (HAVE_FACES): Remove, unused.Dan Nicolaescu2008-07-131-2/+0
| | | | | | | | | | | | | | | | | | | | | * s/vms.h: Use __GNUC__ instead of _GNUC_. * m/macppc.h: * m/alpha.h: Use GNU_LINUX instead of LINUX. Reorganize conditionals. * m/ibms390x.h (XINT, XUINT): Don't define, same as the default (SPECIAL_EMACS_INT): * m/ia64.h (SPECIAL_EMACS_INT): * m/amdx86-64.h (SPECIAL_EMACS_INT): * s/gnu.h (NLIST_STRUCT): * aix4-2.h (X11R5_INHIBIT_I18N): * s/gnu-linux.h (LINUX): * s/msdos.h (HAVE_FACES): * s/ms-w32.h (HAVE_FACES): Don't define, unused. * systty.h: * sysdep.c (setup_pty): Don't depend on SYSV_PTYS, it is not used anymore.
* * syswait.h: Remove old if 0 code. Do not define WAITTYPE, it wasDan Nicolaescu2008-07-121-2/+0
| | | | | | | | | | | | | | | | | | | | always defined as int. * s/netbsd.h (HAVE_UNION_WAIT, HAVE_WAIT_HEADER, WAIT_USE_INT): * s/gnu.h (HAVE_WAIT_HEADER, WAIT_USE_INT, HAVE_UNION_WAIT): * s/gnu-linux.h (HAVE_WAIT_HEADER): * s/freebsd.h (HAVE_WAIT_HEADER): * s/bsd-common.h (HAVE_UNION_WAIT): * s/aix4-2.h (HAVE_WAIT_HEADER): * m/mips.h (HAVE_UNION_WAIT): * s/usg5-4.h (HAVE_WAIT_HEADER, WAITTYPE): Do not define, not used. (COFF, static): Do not define, they are undefined later in the file. * process.c (update_status): Don't use a union. (status_convert): (sigchld_handler): Use int instead of WAITTYPE. * movemail.c (main): Use int instead of WAITTYPE.
* * src/fileio.c:Dan Nicolaescu2008-07-101-6/+2
| | | | | | | | | | | | | | | | | | * src/sysdep.c * src/systty.h: * src/m/ibmrs6000.h: * src/m/iris4d.h: * src/s/aix4-2.h: * src/s/freebsd.h: * src/s/gnu-linux.h: * src/s/hpux10-20.h: * src/s/hpux11.h: * src/s/netbsd.h: * src/s/sol2-3.h: * src/s/sol2-4.h: * src/s/sol2.h: * src/s/usg5-4.h: * src/s/vms.h: Remove references to unused variables.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-071-6/+4
|
* * s/gnu-linux.h: Remove support for non-ELF and linux-1.x.Dan Nicolaescu2008-02-101-62/+0
| | | | * Makefile.in (GNUC): Remove support for gcc-1.x.
* * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsoleteDan Nicolaescu2008-02-091-6/+0
| | | | | | | | | | | | | | | | | variable. * s/gnu-linux.h: Remove commented out code. * unexec.c: Remove references to obsolete variable COFF_ENCAPSULATE. * Makefile.in: Update what RMS says about using autoconf. (C_COMPILER): (COFF_ENCAPSULATE): (MAKE_PARALLEL): Remove obsolete variable. (C_SWITCH_MACHINE_1, C_SWITCH_SYSTEM_1, C_SWITCH_SITE_1): (C_SWITCH_X_SITE_1, C_SWITCH_X_MACHINE_1) (C_SWITCH_X_SYSTEM_1): Move invariant code outside conditional.
* 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).
* (GC_MARK_SECONDARY_STACK): Update call toAndreas Schwab2006-11-181-1/+1
| | | | mark_memory.
* (MAIL_USE_FLOCK): Check for HAVE_LIBLOCKFILE too.Romain Francoise2006-09-231-1/+5
|
* Comment change.Richard M. Stallman2006-07-031-0/+1
|
* (SIGNALS_VIA_CHARACTERS): Define for Linux kernelKim F. Storm2006-06-241-3/+6
| | | | version 2.4 and later.
* 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
|
* Enable no-op gcpros on ia64.Andreas Schwab2004-11-271-2/+12
| | | | (GC_MARK_SECONDARY_STACK) [__ia64__]: Define.
* From Barry Fishman <barry_fishman@att.net> (tiny change)Kim F. Storm2004-07-211-1/+1
| | | | Use GC_MARK_STACK if __amd64__ is defined.
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* (MAIL_USE_FLOCK): Make it conditional.Dave Love2003-05-201-1/+11
|
* (GC_SETJMP_WORKS, GC_MARK_STACK): Define for moreDave Love2003-01-241-4/+11
| | | | architectures.
* (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k.Andreas Schwab2002-02-071-1/+4
|
* Check for __mc68000__ instead of __m68k__, the latter never being definedAndreas Schwab2002-02-021-1/+1
| | | | on GNU/Linux.
* (GNU_LINUX): Defined.Richard M. Stallman2001-12-111-0/+1
|
* Fix a typo in comment.Pavel Janík2001-09-281-1/+1
|
* (LD_SWITCH_SYSTEM_TEMACS): Link temacs with -zAndreas Schwab2001-09-281-0/+6
| | | | nocombreloc, in case -z combreloc is the default.
* Comments.Dave Love2001-01-081-3/+1
|
* (GC_MARK_STACK): Define as GC_MAKE_GCPROS_NOOPS.Gerd Moellmann2000-12-121-0/+1
|
* Don't use `#cpu'.Gerd Moellmann2000-11-201-1/+5
|
* (C_SWITCH_SYSTEM): Don't define _XOPEN_SOURCE here.Dave Love2000-06-221-1/+1
|
* Don't declare HAVE_GETWD.Dave Love2000-06-201-1/+0
|
* (setpgrp): Don't define it here because thisGerd Moellmann2000-05-231-1/+0
| | | | prevents compilation on GNU/Linux systems with glib 2.2.
* (UNIX98_PTYS) [HAVE_GRANDPT]: Define.Gerd Moellmann2000-05-201-42/+40
| | | | | | (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF) [HAVE_GRANDPT]: Define. (C_SWITCH_SYSTEM): Add -D_XOPEN_SOURCE.
* (GC_SETJMP_WORKS): Define for i386, sparc, m68k, alpha.Dave Love2000-03-281-0/+9
|
* Don't define HAVE_VFORK or HAVE_SYS_SIGLIST.Dave Love2000-02-121-2/+0
|
* Use SIGCHLD, not SIGCLD (not in glibc 2.1).Dave Love1999-11-021-2/+3
|
* [HAVE_DEV_PTMX]: Redefine FIRST_PTY_LETTER to 'z'.Gerd Moellmann1999-10-271-0/+36
| | | | | Define PTY_NAME_SPRINTF. Redefine PTY_TTY_NAME_SPRINTF.
* s/usg5-4.h:Paul Eggert1999-10-191-21/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (NSIG): Remove. (NSIG_MINIMUM): New macro. s/gnu-linux.h, s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/umips.h, s/usg5-4.h: (SIGIO): Do not undef. (BROKEN_SIGIO): New macro. * s/gnu-linux.h: (SIGPOLL, SIGURG): Do not undef. (BROKEN_SIGPOLL, BROKEN_SIGURG): New macros. * s/ptx4.h: (SIGINFO): Do not undef. (BROKEN_SIGINFO): New macros. * s/ptx.h, s/template.h: Doc fix. * s/aix3-1.h, s/bsd4-1.h, s/dgux.h, s/gnu-linux.h, s/hiuxmpp.h, s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/osf1.h, s/rtu.h, s/sunos4-1.h, s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h, s/usg5-2.h, s/usg5-3.h, s/xenix.h: (open, close, read, write, INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE, INTERRUPTIBLE_IO): Remove. * s/sol2-5.h (_LARGEFILE_SOURCE, _FILE_OFFSET_BITS): New macros.
* (NARROWPROTO): New.Gerd Moellmann1999-07-211-0/+2
|
* [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it.Richard M. Stallman1999-01-021-0/+5
|