Changeset 5878


Ignore:
Timestamp:
Feb 10, 2007, 9:23:00 PM (18 years ago)
Author:
Gary Byers
Message:

Unicode stuff when accessing control char array; conditionalize for
#+darwin-target, not just #+darwinppc-target.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/library/pty.lisp

    r2323 r5878  
    4545        (progn
    4646          (if control-chars
    47             (%copy-ptr-to-ivector (pref attr :termios.c_cc)
    48                                   0
    49                                   control-chars
    50                                   0
    51                                   #$NCCS))
     47            (%str-from-ptr (pref attr :termios.c_cc) #$NCCS control-chars))
    5248          (values
    5349           (pref attr :termios.c_iflag)
     
    5551           (pref attr :termios.c_cflag)
    5652           (pref attr :termios.c_lflag)
    57            #+darwinppc-target 0
    58            #-darwinppc-target
     53           #+darwin-target 0
     54           #-darwin-target
    5955           (pref attr :termios.c_line)
    6056           control-chars
     
    9187              (setq write-back t))
    9288            (when control-chars
    93               (%copy-ivector-to-ptr control-chars
    94                                     0
    95                                     (pref attr :termios.c_cc)
    96                                     0
    97                                     #$NCCS)
     89              (%cstr-pointer control-chars (pref attr :termios.c_cc) nil)
    9890              (setq write-back t))
    9991            (when input-speed
Note: See TracChangeset for help on using the changeset viewer.