emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/dosfns.c [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/dosfns.c [emacs-unicode-2]
Date: Thu, 11 Nov 2004 22:18:51 -0500

Index: emacs/src/dosfns.c
diff -c emacs/src/dosfns.c:1.37.6.2 emacs/src/dosfns.c:1.37.6.3
*** emacs/src/dosfns.c:1.37.6.2 Fri Apr 16 12:50:46 2004
--- emacs/src/dosfns.c  Fri Nov 12 02:52:55 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)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]