Skip to content

Fix error check in EuclidEmulator::read_in_ee2_data_file#8

Open
joezuntz wants to merge 1 commit into
miknab:developfrom
joezuntz:develop
Open

Fix error check in EuclidEmulator::read_in_ee2_data_file#8
joezuntz wants to merge 1 commit into
miknab:developfrom
joezuntz:develop

Conversation

@joezuntz
Copy link
Copy Markdown

The c/c++ open function returns -1 to indicate failure, as opposed to the usual fopen which returns a NULL pointer. This fixes the test for that failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant