mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 18:20:34 +05:00
SALOME_TESTS/Grids/smesh/3D_mesh_NETGEN_02/C1
File descriptor 0 is valid
This commit is contained in:
parent
4a8521d5db
commit
4edb4666f4
@ -114,6 +114,8 @@ Driver_Mesh::Status DriverSTL_R_SMDS_Mesh::Perform()
|
||||
SMESH_File file( myFile, /*open=*/false );
|
||||
if ( !file.open() ) {
|
||||
fprintf(stderr, ">> ERROR : cannot open file %s \n", myFile.c_str());
|
||||
if ( file.error().empty() )
|
||||
fprintf(stderr, ">> ERROR : %s \n", file.error().c_str());
|
||||
return DRS_FAIL;
|
||||
}
|
||||
|
||||
|
@ -719,6 +719,6 @@ int SMDS_VtkVolume::NbUniqueNodes() const
|
||||
*/
|
||||
SMDS_ElemIteratorPtr SMDS_VtkVolume::uniqueNodesIterator() const
|
||||
{
|
||||
MESSAGE("uniqueNodesIterator");
|
||||
//MESSAGE("uniqueNodesIterator");
|
||||
return SMDS_ElemIteratorPtr(new SMDS_VtkCellIterator(SMDS_Mesh::_meshList[myMeshId], myVtkID, GetEntityType()));
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ bool SMESH_File::open()
|
||||
bool ok = ( _file != INVALID_HANDLE_VALUE );
|
||||
#else
|
||||
_file = ::open(_name.data(), O_RDONLY );
|
||||
bool ok = ( _file > 0 );
|
||||
bool ok = ( _file >= 0 );
|
||||
#endif
|
||||
if ( ok )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user