hdf5/tools
Leon Arber 82b3a0ca4a [svn-r10206]
Purpose:
Bug fix.

Description:
ph5diff fails on modi4 due to the way snprintf works on IRIX.

Solution:
The C99 standard says that, if there isn't enough room in the string,
 snprintf should return the number of characters that
would have been written to the output string if there were enough room.

The snprintf on modi4 would return the number of characters that is was able to write
succesfully to the string if space ran out. The ph5diff logic that checks if
the output buffer was full did not handle this sort of return value correctly.

Used  VSNPRINTF_WORKS from configure test to check how snprintf works and do
the logic accordingly.

Platforms tested:
modi4

Misc. update:
2005-03-13 18:38:11 -05:00
..
gifconv [svn-r10158] Purpose: 2005-03-07 12:57:27 -05:00
h5diff [svn-r10206] 2005-03-13 18:38:11 -05:00
h5dump [svn-r10158] Purpose: 2005-03-07 12:57:27 -05:00
h5import [svn-r10158] Purpose: 2005-03-07 12:57:27 -05:00
h5jam [svn-r10158] Purpose: 2005-03-07 12:57:27 -05:00
h5ls [svn-r10158] Purpose: 2005-03-07 12:57:27 -05:00
h5repack [svn-r10158] Purpose: 2005-03-07 12:57:27 -05:00
lib [svn-r10206] 2005-03-13 18:38:11 -05:00
misc [svn-r10184] Purpose: 2005-03-10 19:44:03 -05:00
testfiles [svn-r10067] Purpose: 2005-02-23 12:52:03 -05:00
Makefile.am [svn-r9988] Purpose: 2005-02-11 12:40:52 -05:00
Makefile.in [svn-r10158] Purpose: 2005-03-07 12:57:27 -05:00