Branches

Tags

Use fclose(stdin) to close stdin instead of close(0). VS8's FILE stream implementation of stdin breaks if the descriptor is closed behind its back. This method of closing stdin should be more portable anyway.