files: trying to open a non-existent file will never succeed
If it would, the returned file descriptor would make nano crash, because the corresponding stream has not been opened. And when returning zero instead (as the code did originally), nano would open an empty buffer, although it claims to be reading the file. In short: I think this is a leftover of an attempted fix of https://savannah.gnu.org/bugs/?25297, from commit 2823c99e.
Showing
+0 -8
Please register or sign in to comment