Closed edwintorok closed 6 years ago
fdatasync will return EINVAL on special files such as pipes, and sockets. We only want fdatasync if we are writing to a file or block device.
I will port this to the 0.11-lcm branch.
0.11-lcm
fdatasync will return EINVAL on special files such as pipes, and sockets. We only want fdatasync if we are writing to a file or block device.