[MOAB-dev] r3173 - MOAB/trunk

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Tue Sep 29 12:20:34 CDT 2009


Author: kraftche
Date: 2009-09-29 12:20:34 -0500 (Tue, 29 Sep 2009)
New Revision: 3173

Modified:
   MOAB/trunk/MBReaderWriterSet.cpp
Log:
null-terminate extension list for NASTRAN reader

Modified: MOAB/trunk/MBReaderWriterSet.cpp
===================================================================
--- MOAB/trunk/MBReaderWriterSet.cpp	2009-09-29 15:25:48 UTC (rev 3172)
+++ MOAB/trunk/MBReaderWriterSet.cpp	2009-09-29 17:20:34 UTC (rev 3173)
@@ -80,7 +80,7 @@
   
   register_factory( ReadMCNP5::factory, NULL, "MCNP5 format", "meshtal", "MESHTAL" );
   
-  const char* nastran_sufxs[] = { "nas", "bdf" };
+  const char* nastran_sufxs[] = { "nas", "bdf", NULL };
   register_factory( ReadNASTRAN::factory, NULL, "NASTRAN format", nastran_sufxs, "NAS" );
 
   register_factory( ReadABAQUS::factory, NULL, "ABAQUS INP mesh format", "abq", "Abaqus mesh" );



More information about the moab-dev mailing list