io: don't leave errno as a random value when we hit EOF.
[ccan] / junkcode / swehack@gmail.com-snifstat /
2009-04-23 Rusty RussellNew junkcode!