http://qs321.pair.com?node_id=532553


in reply to Is this code logical?

Failing to check the return value of open() is pretty illogical.