Changeset 76908 in vbox
- Timestamp:
- Jan 21, 2019 8:28:43 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 128277
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/user_ChangeLogImpl.xml
r76885 r76908 53 53 </listitem> 54 54 55 <listitem> 56 <para>Serial: fixed connecting to pseudo terminals on POSIX hosts 57 (6.0.0 regression; bug #18319)</para> 58 </listitem> 59 55 60 </itemizedlist> 56 61 </sect1> -
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.