Mercurial > emacs
comparison src/dosfns.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 | 1d1d5d9bd884 |
children | 8efd6d04c47a |
comparison
equal
deleted
inserted
replaced
107732:dc45468b3140 | 107733:84b961690802 |
---|---|
46 #include <sys/vfs.h> | 46 #include <sys/vfs.h> |
47 #include <unistd.h> | 47 #include <unistd.h> |
48 #include <grp.h> | 48 #include <grp.h> |
49 #include <crt0.h> | 49 #include <crt0.h> |
50 | 50 |
51 #ifndef __DJGPP_MINOR__ | |
52 # define __tb _go32_info_block.linear_address_of_transfer_buffer; | |
53 #endif | |
54 | |
55 DEFUN ("int86", Fint86, Sint86, 2, 2, 0, | 51 DEFUN ("int86", Fint86, Sint86, 2, 2, 0, |
56 doc: /* Call specific MS-DOS interrupt number INTERRUPT with REGISTERS. | 52 doc: /* Call specific MS-DOS interrupt number INTERRUPT with REGISTERS. |
57 Return the updated REGISTER vector. | 53 Return the updated REGISTER vector. |
58 | 54 |
59 INTERRUPT should be an integer in the range 0 to 255. | 55 INTERRUPT should be an integer in the range 0 to 255. |
383 dos_windows_version = 0; | 379 dos_windows_version = 0; |
384 Vdos_windows_version = Qnil; | 380 Vdos_windows_version = Qnil; |
385 } | 381 } |
386 #endif /* !HAVE_X_WINDOWS */ | 382 #endif /* !HAVE_X_WINDOWS */ |
387 | 383 |
388 #if __DJGPP__ >= 2 | |
389 | |
390 /* Without this, we never see hidden files. | 384 /* Without this, we never see hidden files. |
391 Don't OR it with the previous value, so the value recorded at dump | 385 Don't OR it with the previous value, so the value recorded at dump |
392 time, possibly with `preserve-case' flags set, won't get through. */ | 386 time, possibly with `preserve-case' flags set, won't get through. */ |
393 __opendir_flags = __OPENDIR_FIND_HIDDEN; | 387 __opendir_flags = __OPENDIR_FIND_HIDDEN; |
394 | 388 |
396 /* Under LFN, preserve the case of files as recorded in the directory | 390 /* Under LFN, preserve the case of files as recorded in the directory |
397 (in DJGPP 2.01 and later this is automagically done by the library). */ | 391 (in DJGPP 2.01 and later this is automagically done by the library). */ |
398 if (!NILP (Fmsdos_long_file_names ())) | 392 if (!NILP (Fmsdos_long_file_names ())) |
399 __opendir_flags |= __OPENDIR_PRESERVE_CASE; | 393 __opendir_flags |= __OPENDIR_PRESERVE_CASE; |
400 #endif /* __DJGPP_MINOR__ == 0 */ | 394 #endif /* __DJGPP_MINOR__ == 0 */ |
401 #endif /* __DJGPP__ >= 2 */ | |
402 } | 395 } |
403 | 396 |
404 #ifndef HAVE_X_WINDOWS | 397 #ifndef HAVE_X_WINDOWS |
405 | 398 |
406 /* Emulation of some X window features from xfns.c and xfaces.c. */ | 399 /* Emulation of some X window features from xfns.c and xfaces.c. */ |