mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-21 15:54:19 +03:00

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 2823c99.