Mercurial > emacs
diff src/sysdep.c @ 107733:84b961690802
Remove support for DJGPP v1.x (bug#5813).
src/:
w16select.c (__dpmi_int): Remove DJGPP v1.x compatibility.
s/msdos.h:
unexec.c (make_hdr, copy_text_and_data):
sysdep.c (wait_for_termination, sys_subshell):
msdos.c (dos_set_window_size, msdos_set_cursor_shape)
(IT_set_terminal_modes):
(__write, _rename, gethostname, gettimeofday, alarm, fork, kill)
(dos_ttraw, dos_ttcooked, run_msdos_command, abort): Remove DJGPP
v1.x code and tests of the value of __DJGPP__.
(nice, pause, sigsetmask, sigblock): Remove DJGPP v1.x
compatibility code.
lread.c:
gmalloc.c (memalign):
fileio.c (Fcopy_file, check_executable, Ffile_modes):
emacs.c (main):
dosfns.c (init_dosfns):
dired.c (file_name_completion_stat): Remove tests of __DJGPP__.
msdos/:
sed3.inp:
sed2.inp:
sed1.inp:
mainmake: Files removed.
| author | Eli Zaretskii <eliz@gnu.org> |
|---|---|
| date | Thu, 01 Apr 2010 17:59:46 +0300 |
| parents | 98f7a4103e8e |
| children | 912a8c0c9a8a |
line wrap: on
line diff
--- a/src/sysdep.c Thu Apr 01 15:37:28 2010 +0300 +++ b/src/sysdep.c Thu Apr 01 17:59:46 2010 +0300 @@ -90,11 +90,9 @@ #include "msdos.h" #include <sys/param.h> -#if __DJGPP__ > 1 extern int etext; extern unsigned start __asm__ ("start"); #endif -#endif #ifndef USE_CRT_DLL #ifndef errno @@ -462,13 +460,7 @@ #endif /* not POSIX_SIGNALS */ #endif /* not BSD_SYSTEM, and not HPUX version >= 6 */ #else /* not subprocesses */ -#if __DJGPP__ > 1 break; -#else /* not __DJGPP__ > 1 */ - if (kill (pid, 0) < 0) - break; - wait (0); -#endif /* not __DJGPP__ > 1*/ #endif /* not subprocesses */ } } @@ -672,10 +664,8 @@ #ifdef DOS_NT pid = 0; -#if __DJGPP__ > 1 save_signal_handlers (saved_handlers); synch_process_alive = 1; -#endif /* __DJGPP__ > 1 */ #else pid = vfork (); if (pid == -1) @@ -747,7 +737,7 @@ } /* Do this now if we did not do it before. */ -#if !defined (MSDOS) || __DJGPP__ == 1 +#ifndef MSDOS save_signal_handlers (saved_handlers); synch_process_alive = 1; #endif
