Please sign in to comment.
Improve robustness of function LoadDataFromFile (#1207)
ftell returns a long value which can be negative when an error occurred. It returns LONG_MAX for directories. Both cases were not handled by the old code. Signed-off-by: Stefan Weil <firstname.lastname@example.org>
- Loading branch information...