[NeXus-code-tickets] [NeXusCode] #124: NeXus getattr() is inconsistent with NULL termination of strings

NeXus Data Format Library and Applications noreply at nexusformat.org
Mon Jul 21 16:15:50 BST 2008


#124: NeXus getattr() is inconsistent with NULL termination of strings
------------------------------+---------------------------------------------
  Reporter:  Freddie Akeroyd  |       Owner:  Freddie Akeroyd
      Type:  defect           |      Status:  new            
  Priority:  major            |   Milestone:  NeXus 4.2 Ready
 Component:  napi             |     Version:  trunk          
Resolution:                   |    Keywords:                 
------------------------------+---------------------------------------------
Comment (by Freddie Akeroyd):

 (In [1050]) * Fix NULL termination issue with string attributes that
 causes
   C++ length check to fail
 * Change template instantiation so that you can now type

        NeXus::getType<int>()

   rather than

        NeXus::getType(static_cast<int>(0))

 Refs #124,#116

-- 
Ticket URL: <http://trac.nexusformat.org/code/ticket/124#comment:2>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications



More information about the NeXus-code-tickets mailing list