leveldb
leveldb copied to clipboard
`PosixRandomAccessFile` close `fd` which is `-1`
Hello: I've a question why reading source code:
code: https://github.com/google/leveldb/blob/main/util/env_posix.cc#L186
I wonder why ::close(fd) is required even we are sure fd == -1?