• Ben Boeckel's avatar
    warnings: fix strncpy warnings · e1aa3933
    Ben Boeckel authored
    GCC is getting smarter and detects that we're not copying the NUL
    terminator over.
    
    There are two approaches to fixing the warning:
    
      - where code is already a bit more complicated, just use `std::string`
        instead of C-style string manipulations; and
      - where we were doing `strncpy(dest, src, strlen(src))`, just use
        `strcpy` instead since the destination sizes are made based on the
        size of `src` anyways.
    e1aa3933
Name
Last commit
Last update
..
Testing Loading commit data...
CMakeLists.txt Loading commit data...
module.cmake Loading commit data...
vtkMINC.h Loading commit data...
vtkMINCImageAttributes.cxx Loading commit data...
vtkMINCImageAttributes.h Loading commit data...
vtkMINCImageReader.cxx Loading commit data...
vtkMINCImageReader.h Loading commit data...
vtkMINCImageWriter.cxx Loading commit data...
vtkMINCImageWriter.h Loading commit data...
vtkMNIObjectReader.cxx Loading commit data...
vtkMNIObjectReader.h Loading commit data...
vtkMNIObjectWriter.cxx Loading commit data...
vtkMNIObjectWriter.h Loading commit data...
vtkMNITagPointReader.cxx Loading commit data...
vtkMNITagPointReader.h Loading commit data...
vtkMNITagPointWriter.cxx Loading commit data...
vtkMNITagPointWriter.h Loading commit data...
vtkMNITransformReader.cxx Loading commit data...
vtkMNITransformReader.h Loading commit data...
vtkMNITransformWriter.cxx Loading commit data...
vtkMNITransformWriter.h Loading commit data...