traincascade/imagestorage.cpp (Feature #194)
Description
Dear all,
There are two issues with imagestorage.cpp. The first is that when the negatives data file is passed without a directory path, the home directory is extracted wrongly (the name of the file is included instead of the empty string).
The second one is that the return value of fread is not checked, which triggers warnings when complied with gcc 4.4.1.
I created a patch which fixes the errors.
Best wishes,
Giuseppe
History
Updated by Maria Dimashova almost 15 years ago
Fixed in r2886.
Thanks to Giuseppe.
- Status changed from Open to Done
- (deleted custom field) set to fixed
Updated by Andrey Kamaev almost 13 years ago
- Category set to core
- Assignee set to Maria Dimashova