/[emacs]/emacs/src/dosfns.c
ViewVC logotype

Diff of /emacs/src/dosfns.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.38 by miles, Mon Sep 1 15:45:52 2003 UTC revision 1.39 by jhd, Sun Nov 7 09:13:26 2004 UTC
# Line 110  Return the updated VECTOR.  */) Line 110  Return the updated VECTOR.  */)
110    offs = (unsigned long) XINT (address);    offs = (unsigned long) XINT (address);
111    CHECK_VECTOR (vector);    CHECK_VECTOR (vector);
112    len = XVECTOR (vector)-> size;    len = XVECTOR (vector)-> size;
113    if (len < 1 || len > 2048 || address < 0 || address > 0xfffff - len)    if (len < 1 || len > 2048 || offs < 0 || offs > 0xfffff - len)
114      return Qnil;      return Qnil;
115    buf = alloca (len);    buf = alloca (len);
116    dosmemget (offs, len, buf);    dosmemget (offs, len, buf);
# Line 135  DEFUN ("msdos-memput", Fdos_memput, Sdos Line 135  DEFUN ("msdos-memput", Fdos_memput, Sdos
135    offs = (unsigned long) XINT (address);    offs = (unsigned long) XINT (address);
136    CHECK_VECTOR (vector);    CHECK_VECTOR (vector);
137    len = XVECTOR (vector)-> size;    len = XVECTOR (vector)-> size;
138    if (len < 1 || len > 2048 || address < 0 || address > 0xfffff - len)    if (len < 1 || len > 2048 || offs < 0 || offs > 0xfffff - len)
139      return Qnil;      return Qnil;
140    buf = alloca (len);    buf = alloca (len);
141    
# Line 155  If the optional argument ALLKEYS is non- Line 155  If the optional argument ALLKEYS is non-
155  all keys; otherwise it is only used when the ALT key is pressed.  all keys; otherwise it is only used when the ALT key is pressed.
156  The current keyboard layout is available in dos-keyboard-code.  */)  The current keyboard layout is available in dos-keyboard-code.  */)
157       (country_code, allkeys)       (country_code, allkeys)
158       Lisp_Object country_code;       Lisp_Object country_code, allkeys;
159  {  {
160    CHECK_NUMBER (country_code);    CHECK_NUMBER (country_code);
161    if (!dos_set_keyboard (XINT (country_code), !NILP (allkeys)))    if (!dos_set_keyboard (XINT (country_code), !NILP (allkeys)))

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26