file: do not use non-blocking mode when unknown/unspecified/useless
For FIFO and sockets, non-blocking is wanted. For character device, the effects depend on the device driver. For other types, non-blocking mode has either no effects or is unspecified. (cherry picked from commit bd19904c)
Showing
Please register or sign in to comment