Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
science/paraview: remove useless sbrk use
There was a single use in a debug statement so just remove it. Approved by: thierry (maintainer) Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D42977
- Loading branch information
1 parent
f2348b3
commit b5f490f
Showing
2 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
science/paraview/files/patch-VTK_ThirdParty_xdmf2_vtkxdmf2_libsrc_XdmfArray.cxx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfArray.cxx.orig | ||
+++ VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfArray.cxx | ||
@@ -310,9 +310,6 @@ | ||
if( this->DataPointer == NULL ) { | ||
XdmfDebug("Allocation Failed"); | ||
perror(" Alloc :" ); | ||
-#ifndef _WIN32 | ||
- XdmfDebug("End == " << sbrk(0) ); | ||
-#endif | ||
} | ||
} | ||
XdmfDebug("Data Pointer = " << this->DataPointer ); |