Remove umask call.
Coverity reported: CID 93013: Error handling issues (CHECKED_RETURN) "read(int, void *, size_t)" returns the number of bytes read, but it is ignored. umask() is also not thread-safe.
Please register or sign in to comment
Coverity reported: CID 93013: Error handling issues (CHECKED_RETURN) "read(int, void *, size_t)" returns the number of bytes read, but it is ignored. umask() is also not thread-safe.