Unix code does not always go thru hangup() when EOF is encountered. There is a similar end_of_input() that is sometimes called instead, which was missing a test of program_state.something_worth_saving.
6.8 KiB
6.8 KiB