Diff for /np2/x11/cmserial.c between versions 1.7 and 1.8

version 1.7, 2012/01/23 04:20:55 version 1.8, 2012/01/23 04:23:10
Line 89  serialgetstat(COMMNG self) Line 89  serialgetstat(COMMNG self)
 {  {
         CMSER serial = (CMSER)(self + 1);          CMSER serial = (CMSER)(self + 1);
         int status;          int status;
           int rv;
   
         rv = ioctl(serial->hdl, TIOCMGET, &status);          rv = ioctl(serial->hdl, TIOCMGET, &status);
           if (rv < 0) {
                   VERBOSE(("serialgetstat: ioctl: %s", strerror(errno)));
                   return 0x20;
           }
         if (!(status & TIOCM_DSR)) {          if (!(status & TIOCM_DSR)) {
                 VERBOSE(("serialgetstat: DSR is disable"));                  VERBOSE(("serialgetstat: DSR is disable"));
                 return 0x20;                  return 0x20;

Removed from v.1.7  
changed lines
  Added in v.1.8


RetroPC.NET-CVS <cvs@retropc.net>