[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/dosfns.c
From: |
Jan Djärv |
Subject: |
[Emacs-diffs] Changes to emacs/src/dosfns.c |
Date: |
Sun, 07 Nov 2004 04:37:49 -0500 |
Index: emacs/src/dosfns.c
diff -c emacs/src/dosfns.c:1.38 emacs/src/dosfns.c:1.39
*** emacs/src/dosfns.c:1.38 Mon Sep 1 15:45:52 2003
--- emacs/src/dosfns.c Sun Nov 7 09:13:26 2004
***************
*** 110,116 ****
offs = (unsigned long) XINT (address);
CHECK_VECTOR (vector);
len = XVECTOR (vector)-> size;
! if (len < 1 || len > 2048 || address < 0 || address > 0xfffff - len)
return Qnil;
buf = alloca (len);
dosmemget (offs, len, buf);
--- 110,116 ----
offs = (unsigned long) XINT (address);
CHECK_VECTOR (vector);
len = XVECTOR (vector)-> size;
! if (len < 1 || len > 2048 || offs < 0 || offs > 0xfffff - len)
return Qnil;
buf = alloca (len);
dosmemget (offs, len, buf);
***************
*** 135,141 ****
offs = (unsigned long) XINT (address);
CHECK_VECTOR (vector);
len = XVECTOR (vector)-> size;
! if (len < 1 || len > 2048 || address < 0 || address > 0xfffff - len)
return Qnil;
buf = alloca (len);
--- 135,141 ----
offs = (unsigned long) XINT (address);
CHECK_VECTOR (vector);
len = XVECTOR (vector)-> size;
! if (len < 1 || len > 2048 || offs < 0 || offs > 0xfffff - len)
return Qnil;
buf = alloca (len);
***************
*** 155,161 ****
all keys; otherwise it is only used when the ALT key is pressed.
The current keyboard layout is available in dos-keyboard-code. */)
(country_code, allkeys)
! Lisp_Object country_code;
{
CHECK_NUMBER (country_code);
if (!dos_set_keyboard (XINT (country_code), !NILP (allkeys)))
--- 155,161 ----
all keys; otherwise it is only used when the ALT key is pressed.
The current keyboard layout is available in dos-keyboard-code. */)
(country_code, allkeys)
! Lisp_Object country_code, allkeys;
{
CHECK_NUMBER (country_code);
if (!dos_set_keyboard (XINT (country_code), !NILP (allkeys)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/dosfns.c,
Jan Djärv <=