Changeset 76908 in vbox for trunk/src/VBox/Runtime/r3/posix
- Timestamp:
- Jan 21, 2019 8:28:43 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 128277
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/serialport-posix.cpp
r76553 r76908 266 266 int fTiocmClear = TIOCM_LOOP; 267 267 rcPsx = ioctl(pThis->iFd, TIOCMBIC, &fTiocmClear); 268 if (rcPsx == -1 )268 if (rcPsx == -1 && errno != EINVAL) /* Pseudo terminals don't support loopback mode so ignore an error here. */ 269 269 rc = RTErrConvertFromErrno(errno); 270 270 } … … 623 623 } 624 624 } 625 else if (errno == ENOTTY )625 else if (errno == ENOTTY || errno == EINVAL) 626 626 rc = VERR_NOT_SUPPORTED; 627 627 else
Note:
See TracChangeset
for help on using the changeset viewer.