Changeset 86302 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Sep 26, 2020 11:19:38 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/fileio-posix.cpp
r85875 r86302 707 707 708 708 /* Always fail block devices. Character devices doesn't all need to be 709 /dev/rdisk* nodes, they should return ENOTTY but include EINVAL too. */ 710 if (!S_ISBLK(st.st_mode) && (errno == ENOTTY || errno == EINVAL)) 709 /dev/rdisk* nodes, they should return ENOTTY but /dev/null returns ENODEV 710 and we include EINVAL just in case. */ 711 if (!S_ISBLK(st.st_mode) && (errno == ENOTTY || errno == ENODEV || errno == EINVAL)) 711 712 return VINF_SUCCESS; 712 713
Note:
See TracChangeset
for help on using the changeset viewer.