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

version 1.5, 2011/01/15 16:48:39 version 1.8, 2012/01/23 04:23:10
Line 1 Line 1
 /*      $Id$    */  
   
 /*  /*
  * Copyright (c) 2004 NONAKA Kimihiro   * Copyright (c) 2004 NONAKA Kimihiro
  * All rights reserved.   * All rights reserved.
Line 94  serialgetstat(COMMNG self) Line 92  serialgetstat(COMMNG self)
         int rv;          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.5  
changed lines
  Added in v.1.8


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