aboutsummaryrefslogtreecommitdiffstats
path: root/src/s (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Move SIGNALS_VIA_CHARACTERS from src/s to configureGlenn Morris2012-07-115-24/+0
| | | | | | | | | | | | | | * configure.ac (SIGNALS_VIA_CHARACTERS): Move here from src/s. * src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/gnu-linux.h: * src/s/irix6-5.h: Move SIGNALS_VIA_CHARACTERS to configure.
* | All the cool platforms support CLASH_DETECTION...Glenn Morris2012-07-118-34/+0
| | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (CLASH_DETECTION): Define unconditionally. Every platform using configure supports it. * src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h: * src/s/gnu-linux.h, src/s/hpux10-20.h, src/s/template.h: * src/s/usg5-4-common.h: Move CLASH_DETECTION to configure. * etc/PROBLEMS: Recommend customizing create-lockfiles rather than recompiling with CLASH_DETECTION unset.
* | Remove src/s/gnu.hGlenn Morris2012-07-101-22/+0
| | | | | | | | | | | | * configure.ac (opsysfile): Use bsd-common on gnu systems. * src/s/gnu.h: Remove file, which is now empty.
* | Move GNU_LIBRARY_PENDING_OUTPUT_COUNT from src/s to configureGlenn Morris2012-07-102-27/+1
| | | | | | | | | | | | | | * configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Move here from src/s. * src/s/gnu.h, src/s/gnu-linux.h: Move GNU_LIBRARY_PENDING_OUTPUT_COUNT to configure.
* | Assume perror.Paul Eggert2012-07-101-3/+0
| |
* | Move DONT_REOPEN_PTY from src/s to configureGlenn Morris2012-07-103-15/+0
| | | | | | | | | | | | | | * configure.ac (DONT_REOPEN_PTY): Move here from src/s. * src/s/darwin.h, src/s/freebsd.h, src/s/netbsd.h: Move DONT_REOPEN_PTY to configure.
* | Let configure set DEFAULT_SOUND_DEVICEGlenn Morris2012-07-101-2/+0
| | | | | | | | | | | | | | * configure.ac (DEFAULT_SOUND_DEVICE): New definition. * src/sound.c (DEFAULT_SOUND_DEVICE) [!WINDOWSNT]: * src/s/netbsd.h (DEFAULT_SOUND_DEVICE): Let configure set it.
* | Remove "#define unix" that is no longer needed (Bug#11905).Paul Eggert2012-07-101-3/+0
| | | | | | | | | | | | | | Merge from gnulib to make "#define unix" unnecessary, incorporating: 2012-07-10 getloadavg: clean out old Emacs and Autoconf cruft 2012-07-09 getopt: Simplify after Emacs changed. * src/s/aix4-2.h (unix): Remove; no longer needed.
* | Simplify by avoiding confusing use of strncpy etc.Paul Eggert2012-07-103-6/+3
| |
* | Move PENDING_OUTPUT_COUNT from src/s to configureGlenn Morris2012-07-105-11/+0
| | | | | | | | | | | | | | * configure.ac (PENDING_OUTPUT_COUNT): Move here from src/s. * src/s/cygwin.h, src/s/darwin.h, src/s/freebsd.h, src/s/netbsd.h: * src/s/unixware.h: Move PENDING_OUTPUT_COUNT definition to configure.
* | Move DATA_START, DATA_SEG_BITS from src/s to configureGlenn Morris2012-07-103-15/+0
| | | | | | | | | | | | | | | | * configure.ac (DATA_START, DATA_SEG_BITS): Move here from src/s. * src/s/irix6-5.h (DATA_START, DATA_SEG_BITS): * src/s/hpux10-20.h (DATA_SEG_BITS, DATA_START): * src/s/gnu.h (DATA_START): Move definitions to configure.
* | * src/s/irix6-5.h (SETUP_SLAVE_PTY, PTY_NAME_SPRINTF): Drop ifdef guards.Glenn Morris2012-07-091-4/+0
| | | | | | | | We include usg5-4-common.h, which defines them both.
* | * src/s/gnu.h: Don't include fcntl.hGlenn Morris2012-07-091-4/+1
| | | | | | | | | | (every file in Emacs that uses O_RDONLY already includes it; and this does not seem like the problem a src/s file should be trying to solve).
* | * src/s/gnu.h (SIGNALS_VIA_CHARACTERS): No need to define it hereGlenn Morris2012-07-091-2/+0
| | | | | | | | (the included bsd-common.h does so)
* | Rename configure.in to configure.ac.Paul Eggert2012-07-081-3/+2
| | | | | | | | Fixes: debbugs:11603
* | * configure.in (BROKEN_SA_RESTART): Doc fix.Glenn Morris2012-07-071-1/+1
| | | | | | | | * src/sysdep.c, src/s/irix6-5.h: Related comments.
* | Replace some src/s undefs by never even checking on relevant platformsGlenn Morris2012-07-063-19/+2
| | | | | | | | | | | | | | | | | | | | * configure.in: (getwd): Don't check for it on unixware. (random, rint): Don't check for these on hpux. (res_init, libresolv): Don't check for these on darwin. * src/s/darwin.h (HAVE_RES_INIT, HAVE_LIBRESOLV): * src/s/hpux10-20.h (HAVE_RINT, HAVE_RANDOM): * src/s/unixware.h (HAVE_GETWD): Move undefs to configure (effectively).
* | Update Windows port to gnulib changes in ↵Juanma Barranquero2012-07-071-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-07-06T21:07:46Z!eggert@cs.ucla.edu. * lib-src/makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Update dependencies. * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O) and $(BLD)/c-strncasecmp.$(O). ($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O)) ($(BLD)/c-strncasecmp.$(O)): New dependencies. * src/makefile.w32-in (DISPEXTERN_H, $(BLD)/regex.$(O)): Update dependencies. * src/s/ms-w32.h [_MSC_VER]: Remove strcasecmp, strncasecmp.
* | * nt/config.nt: Complete rework to bring it in sync with autogen/config.in.Juanma Barranquero2012-07-061-76/+90
| | | | | | | | | | | | | | | | All Windows-specific code moved to src/s/ms-w32.h. * src/s/ms-w32.h: Settings not specific to Windows moved to nt/config.nt. Windows-specific code from nt/config.nt moved here. Obsolete settings removed.
* | Remove obsolete configuration options (Windows port).Juanma Barranquero2012-07-041-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | * admin/CPP-DEFINES (LISP_FLOAT_TYPE): Remove, obsolete. * nt/config.nt (LISP_FLOAT_TYPE, HAVE_XFREE386, USE_TEXT_PROPERTIES) (GSSAPI, HAVE_LIBINTL, HAVE_LIBGSSAPI_KRB5, HAVE_LIBGSSAPI) (HAVE_GSSAPI_H, HAVE_LIBXBD, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET) (HAVE_MEMCMP): Remove, obsolete. * src/s/ms-w32.h (LISP_FLOAT_TYPE, HAVE_MEMCMP, HAVE_MEMCPY) (HAVE_MEMMOVE, HAVE_MEMSET): Don't set, obsolete.
* | Adapt the MS-DOS build to the latest changes.Eli Zaretskii2012-06-301-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msdos/mainmake.v2 (bootstrap-clean): Do a maintainer-clean in lib, not bootstrap-clean (which doesn't exist). msdos/inttypes.h (PRIuMAX) [__DJGPP__ < 2.04]: Define to "llu". msdos/sedleim.inp (MKDIR_P): Edit to DOS "md" command. msdos/sed1v2.inp: (LIB_CLOCK_GETTIME): Edit to empty. Remove lines that invoke PAXCTL. (clean): Fix recipe not to run Unixy shell commands. msdos/sed2v2.inp (GETTIMEOFDAY_TIMEZONE): Edit to 'struct timezone'. (HAVE_STRNCASECMP): Edit to 1. msdos/sed3v2.inp (LIB_CLOCK_GETTIME): Edit to empty. (C_SWITCH_SYSTEM): Add "-I../msdos". msdos/sedlibmk.inp (GNULIB_GETTIMEOFDAY, GNULIB_PSELECT) (GNULIB_SELECT, HAVE_STRUCT_TIMEVAL, HAVE_SYS_SELECT_H) (HAVE_SYS_TIME_H, NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H) (NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H, NEXT_SYS_SELECT_H) (NEXT_SYS_TIME_H, REPLACE_GETTIMEOFDAY, REPLACE_PSELECT) (REPLACE_STRUCT_TIMEVAL): Edit to appropriate values. (BUILT_SOURCES): Edit out sys/select.h and sys/time.h. (mostlyclean-local, distclean-generic): Fix recipe not to run Unixy shell commands. src/sysselect.h [DOS_NT]: Don't include sys/select.h. src/sysselect.h (pselect) [!HAVE_PSELECT]: Redirect to sys_select. src/sysdep.c: Don't include dos.h and dosfns.h. src/process.c (sys_select): src/msdos.c (sys_select): Accept one more argument and ignore it. src/msdos.c (event_timestamp, sys_select): Use gnulib's gettime; adapt data types and code to that. src/dosfns.c: src/msdos.c (gettime, settime): Define away the prototypes in dos.h, which clashes with the gnulib function of the same name. src/ w32proc.c (sys_select): Accept and ignore one more argument. src/w32.c (emacs_gnutls_pull): Call select with one more argument. lisp/emacs-lisp/timer.el (timer-until): Subtract results of float-time, instead of taking float-time of the result of time-subtract, since float-time signals an error for negative time arguments.
| * | Adapt the MS-DOS build to the latest changes.Eli Zaretskii2012-06-301-2/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msdos/mainmake.v2 (bootstrap-clean): Do a maintainer-clean in lib, not bootstrap-clean (which doesn't exist). msdos/inttypes.h (PRIuMAX) [__DJGPP__ < 2.04]: Define to "llu". msdos/sedleim.inp (MKDIR_P): Edit to DOS "md" command. msdos/sed1v2.inp: (LIB_CLOCK_GETTIME): Edit to empty. Remove lines that invoke PAXCTL. (clean): Fix recipe not to run Unixy shell commands. msdos/sed2v2.inp (GETTIMEOFDAY_TIMEZONE): Edit to 'struct timezone'. (HAVE_STRNCASECMP): Edit to 1. msdos/sed3v2.inp (LIB_CLOCK_GETTIME): Edit to empty. (C_SWITCH_SYSTEM): Add "-I../msdos". msdos/sedlibmk.inp (GNULIB_GETTIMEOFDAY, GNULIB_PSELECT) (GNULIB_SELECT, HAVE_STRUCT_TIMEVAL, HAVE_SYS_SELECT_H) (HAVE_SYS_TIME_H, NEXT_AS_FIRST_DIRECTIVE_SYS_SELECT_H) (NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H, NEXT_SYS_SELECT_H) (NEXT_SYS_TIME_H, REPLACE_GETTIMEOFDAY, REPLACE_PSELECT) (REPLACE_STRUCT_TIMEVAL): Edit to appropriate values. (BUILT_SOURCES): Edit out sys/select.h and sys/time.h. (mostlyclean-local, distclean-generic): Fix recipe not to run Unixy shell commands. src/sysselect.h [DOS_NT]: Don't include sys/select.h. src/s/ms-w32.h (select, pselect): Don't define here, they are defined in sysselect.h src/sysselect.h (pselect) [!HAVE_PSELECT]: Redirect to sys_select. src/sysdep.c: Don't include dos.h and dosfns.h. src/process.c (sys_select): src/msdos.c (sys_select): Accept one more argument and ignore it. src/msdos.c (event_timestamp, sys_select): Use gnulib's gettime; adapt data types and code to that. src/dosfns.c: src/msdos.c (gettime, settime): Define away the prototypes in dos.h, which clashes with the gnulib function of the same name. lisp/emacs-lisp/timer.el (timer-until): Subtract results of float-time, instead of taking float-time of the result of time-subtract, since float-time signals an error for negative time arguments.
* | Define HAVE_STRCASECMP and HAVE_STRNCASECMP on MS-Windows.Eli Zaretskii2012-06-261-0/+8
| | | | | | | | | | | | src/s/ms-w32.h (strcasecmp, strncasecmp) [_MSC_VER]: Redirect to _stricmp and _strnicmp. (HAVE_STRCASECMP, HAVE_STRNCASECMP): Define to 1.
* | Improve port of struct timespec to MS-Windows.Eli Zaretskii2012-06-241-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lib/makefile.w32-in ($(BLD)/dtotimespec.$(O)): ($(BLD)/timespec-add.$(O)): ($(BLD)/timespec-sub.$(O)): Don't depend on $(EMACS_ROOT)/nt/inc/sys/time.h. lib/stat-time.h: lib/timespec.h: lib/utimens.h: Revert last change. src/makefile.w32-in (TIMESPEC_H): Remove nt/inc/sys/time.h. (SYSTIME_H): Add nt/inc/sys/time.h. src/systime.h [WINDOWSNT]: Include sys/time.h. src/s/ms-w32.h (struct timespec): Definition moved from nt/inc/sys/time.h. Suggested by Paul Eggert <eggert@cs.ucla.edu>. nt/inc/sys/time.h (struct timespec): Don't define it here, it is now defined in src/s/ms-w32.h. Fixes: debbugs:9000
* | Fix the MS-Windows build broken by 2012-06-22T21:17:42Z!eggert@cs.ucla.edu.Eli Zaretskii2012-06-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nt/inc/sys/time.h (struct timespec): Define. lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/dtotimespec.$(O), $(BLD)/gettime.$(O), $(BLD)/timespec-add.$(O), and $(BLD)/timespec-sub.$(O). ($(BLD)/dtotimespec.$(O)): ($(BLD)/gettime.$(O)): ($(BLD)/timespec-add.$(O)): ($(BLD)/timespec-sub.$(O)): New dependencies. lib/stat-time.h: lib/timespec.h: lib/utimens.h: Include sys/time.h src/w32.c (fdutimens): New function. src/w32proc.c (sys_select): Adapt to change in the EMACS_TIME type. src/s/ms-w32.h (pselect): Redirect to sys_select. src/sysselect.h [WINDOWSNT]: Don't include sys/select.h. Fixes: debbugs:9000
* | Remove some unused definitions from src/sGlenn Morris2012-06-133-5/+8
| | | | | | | | | | | | | | * src/s/bsd-common.h (BSD4_3): * src/s/usg5-4-common.h (USG5_4): No longer define; unused. * admin/CPP-DEFINES, src/s/template.h: Related edits.
* | Remove HAVE_SYSV_SIGPAUSE unused remnantsGlenn Morris2012-06-122-5/+0
| | | | | | | | | | | | | | * src/s/usg5-4-common.h, src/s/unixware.h: Remove define/undef of HAVE_SYSV_SIGPAUSE (not used since 2010-05-04). * admin/CPP-DEFINES: Remove HAVE_SYSV_SIGPAUSE.
* | * src/s/gnu.h (POSIX_SIGNALS): Remove (again).Glenn Morris2012-06-121-2/+0
| | | | | | | | | | | | | | | | This was added in 2012-01 in response to http://debbugs.gnu.org/10552 . However, this issue had already been fixed in the trunk two years earlier, by removing POSIX_SIGNALS altogether. Ref: http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00002.html
* | Remove src/s/sol2-10.hGlenn Morris2012-06-122-13/+0
| | | | | | | | | | | | | | | | | | * configure.in (HAVE_PROCFS, _STRUCTURED_PROC): New AC_DEFINEs. (opsysfile): Set specially for sol2-10. * src/s/gnu-linux.h (HAVE_PROCFS): Move to configure. * src/s/sol2-10.h: Remove file.
* | Remove src/s/hpux11.hGlenn Morris2012-06-121-9/+0
| | | | | | | | | | | | | | * configure.in (BROKEN_SA_RESTART, USG_SUBTTY_WORKS): New AC_DEFINEs. (opsysfile): Set specially for hpux11. * src/s/hpux11.h: Remove file.
* | Remove a couple of src/s filesGlenn Morris2012-06-122-7/+0
| | | | | | | | | | | | * configure.in (opsysfile): Set specially for gnu-kfreebsd, openbsd. * src/s/gnu-kfreebsd.h, src/s/openbsd.h: Remove files.
* | Move NO_TERMIO, BROKEN_SIGIO from src/s to configureGlenn Morris2012-06-126-18/+1
| | | | | | | | | | | | | | | | | | | | * configure.in (NO_TERMIO, BROKEN_SIGIO): New AC_DEFINEs. * src/s/bsd-common.h, src/s/darwin.h, src/s/gnu-kfreebsd.h, src/s/hpux10-20.h: Remove NO_TERMIO. * src/s/hpux10-20.h, src/s/openbsd.h, src/s/usg5-4-common.h: Remove BROKEN_SIGIO.
* | Move SYSTEM_TYPE from src/s to configureGlenn Morris2012-06-1113-55/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in (SYSTEM_TYPE): New AC_DEFINE. * msdos/sed2v2.inp (SYSTEM_TYPE): Set it. * nt/config.nt (SYSTEM_TYPE): Define it. * src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h: * src/s/gnu-kfreebsd.h, src/s/gnu-linux.h, src/s/gnu.h, src/s/hpux10-20.h: * src/s/irix6-5.h, src/s/ms-w32.h, src/s/msdos.h, src/s/template.h: * src/s/usg5-4-common.h: Remove SYSTEM_TYPE.
* | Remove obsolete '#define static' cruft.Paul Eggert2012-05-301-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/PROBLEMS: Remove obsolete '#define static' cruft. * lwlib/xlwmenu.c [emacs]: Include "bitmaps/gray.xbm". (gray_bitmap_width, gray_bitmap_height, gray_bitmap_bits) [!emacs]: Remove; all uses replaced with definiens. * src/s/hpux10-20.h (_FILE_OFFSET_BITS): Don't #undef. This #undef was "temporary" in 2000; it is no longer needed now that '#define static' has gone away. * src/xfns.c, src/xterm.h (gray_bitmap_width, gray_bitmap_height) (gray_bitmap_bits): Remove; no longer needed. All uses replaced with definiens. * src/xterm.c: Include "bitmaps/gray.xbm".
* | Remove src/m/*.Paul Eggert2012-05-225-6/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Remove all mention of src/m/*. (machine, machfile, M_FILE, config_machfile, and_machfile): Remove. All uses removed. (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG) (BITS_PER_LONG_LONG): Move to src/lisp.h. * lib/makefile.w32-in: Remove dependencies on $(EMACS_ROOT)/src/m/intel386.h. * make-dist: Don't make links to src/m. * admin/CPP-DEFINES: Do not mention src/m/*.h. (BITS_PER_EMACS_INT, BITS_PER_LONG, BITS_PER_CHAR) (BITS_PER_SHORT, BITS_PER_INT): Remove. * admin/MAINTAINERS: Remove src/m/. * lib-src/makefile.w32-in: Remove dependencies on $(EMACS_ROOT)/src/m/intel386.h. * msdos/mainmake.v2 (TAGS tags): Don't look at $(CURDIR)/src/m/intel386.h. * nt/config.nt: Do not include "m/intel386.h"; file was removed. (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG): Move to src/lisp.h. (EMACS_INT_MAX): New macro. This directory predates autoconf and is no longer needed nowadays. Move its few remaining bits of functionality to where they're needed. * src/m/README, src/m/alpha.h, src/m/amdx86-64.h, src/m/ia64.h, src/m/ibmrs6000.h: * src/m/ibms390x.h, src/m/intel386.h, src/m/m68k.h, src/m/macppc.h: * src/m/sparc.h, src/m/template.h: Remove. * src/Makefile.in (M_FILE): Remove. All uses removed. * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): * src/lisp.h (USE_LSB_TAG): * src/mem-limits.h (EXCEEDS_LISP_PTR): Use VAL_MAX, not VALBITS, in #if. * src/lisp.h (EMACS_INT_MAX): New macro, useful in #if. (EMACS_UINT): Define unconditionally now. (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG) (BITS_PER_EMACS_INT): New constants, replacing what used to be in config.h, but not useful in #if. (GCTYPEBITS, VALBITS): Define unconditionally, since m/* files don't define them any more. (VAL_MAX): New macro. (VALMASK): Use it. * src/puresize.h (PURESIZE_RATIO): Use EMACS_INT_MAX, not BITS_PER_EMACS_INT, in #if. * src/s/aix4-2.h (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPTY) (BROKEN_SIGPOLL): Move here from m/ibmrs6000.h, which was removed. * src/s/gnu-linux.h (ULIMIT_BREAK_VALUE) [__i386__]: * src/s/ms-w32.h (DATA_START): Move here from removed file m/intel386.h. * src/s/gnu.h (NLIST_STRUCT): Remove undef; 'configure' does this. * src/s/irix6-5.h (_LP64): Remove; lisp.h no longer needs this.
* | Remove unused HAVE_* symbols for functions.Paul Eggert2012-05-191-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | * configure.in (AC_CHECK_FUNCS): Remove XSetWMProtocols, getdomainname, mblen (twice), mbrlen (twice), mbsinit, ualarm, getsockopt, setsockopt, mremap, mempcpy. * admin/CPP-DEFINES (HAVE_GETDOMAINNAME): Remove. * msdos/sed2v2.inp (HAVE_MBLEN): Remove. * msdos/sed2x.inp (HAVE_XSETWMPROTOCOLS): Remove. * nt/config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS) (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed. * src/s/ms-w32.h (HAVE_GETDOMAINNAME): Remove; not needed.
* | Remove no-longer-used macro HAVE_FTIME.Paul Eggert2012-05-191-1/+0
| | | | | | | | | | | | | | | | | | | | * configure.in (machine): Do not set to 'vax', since src/m/vax.h is being removed. (AC_CHECK_FUNCS): Remove ftime. * admin/CPP-DEFINES (HAVE_FTIME): Remove. * nt/config.nt (HAVE_FTIME): Remove undef; not needed. * src/m/vax.h: Remove; no longer needed since HAVE_FTIME is being removed. * src/s/ms-w32.h (HAVE_FTIME): Remove; not needed.
* | Make GC_MAKE_GCPROS_NOOPS the default (Bug#9926).Paul Eggert2012-04-1312-22/+14
| | | | | | | | | | | | | | | | | | | | | | * lisp.h (GC_MARK_STACK): Default to GC_MAKE_GCPROS_NOOPS. * s/cygwin.h, s/darwin.h, s/freebsd.h, s/gnu.h, s/irix6-5.h, s/msdos.h: * s/netbsd.h, s/sol2-6.h: Remove definition of GC_MARK_STACK, since the default now works. * s/aix4-2.h, s/hpux10-20.h, s/unixware.h: Define GC_MARK_STACK to GC_USE_GCPROS_AS_BEFORE, since that's no longer the default. * s/gnu-linux.h (GC_MARK_STACK): Adjust to change in default.
* | * src/s/cygwin.h (PTY_OPEN): Don't try to close a bogus file descriptor.Ken Brown2012-04-131-1/+2
| |
* | Use the real vfork under CygwinDaniel Colascione2012-04-111-4/+0
| | | | | | | | | | | | | | | | * s/cygwin.h: The vfork the #define in cygwin.h was protecting against is gone. It's better to use vfork now so that when Cygwin gains a new, working vfork, we use it automatically. Fixes: debbugs:10398
* | Avoid unnecessary pointer scanning in garbage collection (Bug#10780).Paul Eggert2012-04-071-3/+0
|/ | | | | | | | * alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): New macro. (mark_memory): Mark Lisp_Objects only if pointers might hide in objects, as mark_maybe_pointer will catch them otherwise. (GC_LISP_OBJECT_ALIGNMENT): Remove; no longer needed. * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT) [__mc68000__]: Likewise.
* Discourage in comments from defining HAVE_GETCWD on MS-Windows.Eli Zaretskii2012-03-291-0/+3
| | | | | src/s/ms-w32.h: Discourage from defining HAVE_GETCWD. nt/config.nt: Discourage from defining HAVE_GETCWD.
* Fix bug #9960 with MSVC build on MS-Windows.Eli Zaretskii2012-03-241-0/+6
| | | | | src/s/ms-w32.h (tzname): Include time.h before redirecting to _tzname. Fixes the MSVC build.
* * src/s/gnu.h: Define POSIX_SIGNALS.Chong Yidong2012-01-281-0/+2
| | | | Fixes: debbugs:10552
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-0516-16/+16
|
* * s/gnu-linux.h: Fix mark_memory typo (Bug#10286).Paul Eggert2011-12-161-1/+1
| | | | | | (GC_MARK_SECONDARY_STACK): Omit removed 3rd arg to mark_memory, which caused a build failure on GNU/Linux IA-64. This problem was introduced by my 2011-10-07 patch.
* Fix MS-Windows build with MSVC compiler.Eli Zaretskii2011-11-271-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Parts of the changes by Fabrice Popineau <fabrice.popineau@supelec.fr>. lib-src/makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS). lib-src/emacsclient.c (main) <environ>: Remove declaration, already pulled in by unistd.h on Posix hosts and stdlib.h on MS-Windows. nt/inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs. (UINT64_MAX) [_WIN64]: Fix definition. (uintmax_t, intmax_t): Fix definitions. nt/inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]: Provide correct definitions. nt/config.nt (HAVE_DECL_STRTOLL): Define. (va_copy) [_WIN64]: Provide a better definition. src/s/ms-w32.h (utimbuf) [_MSC_VER]: Don't define. (snprintf) [_MSC_VER]: Redirect to _snprintf. (strtoll) [_MSC_VER]: Redirect to _strtoi64. (malloc, free, realloc, calloc): Redirect to e_* only when compiling Emacs. src/lisp.h (GCTYPEBITS): Move before first use. (ALIGN_GCTYPEBITS) [_MSC_VER]: Define. (DECL_ALIGN) [_MSC_VER]: Use it, as MSVC doesn't like bit ops in this macro definition. (tzname): Redirect to _tzname for all values of _MSC_VER. Fixes: debbugs:9960
* Merge from trunk.Paul Eggert2011-11-191-2/+1
|\
| * Spelling fixes.Paul Eggert2011-11-141-2/+1
| |
* | Merge from trunk.Paul Eggert2011-11-131-1/+1
|\ \ | |/