Skip to content

Commit

Permalink
Merge topic 'SEP_Fopen'
Browse files Browse the repository at this point in the history
f3c0a12 Replace native fopen by the SystemTools one

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Thomas Caissard <thomas.caissard@kitware.com>
Acked-by: Mathieu Westphal <mathieu.westphal@kitware.com>
Merge-request: !7588
  • Loading branch information
CharlesGueunet authored and kwrobot committed Feb 3, 2021
2 parents b5f4771 + f3c0a12 commit d183ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IO/Image/vtkSEPReader.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ bool vtkSEPReader::ReadData(vtkImageData* imageData, int updateExtents[6])
{
vtkDebugMacro(<< "Read data: opening file " << this->BinaryFilename);

FILE* dataFile = fopen(this->BinaryFilename.c_str(), "rb");
FILE* dataFile = vtksys::SystemTools::Fopen(this->BinaryFilename.c_str(), "rb");

if (!dataFile)
{
Expand Down

0 comments on commit d183ccb

Please sign in to comment.