mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
82b3a0ca4a
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: |
||
---|---|---|
.. | ||
gifconv | ||
h5diff | ||
h5dump | ||
h5import | ||
h5jam | ||
h5ls | ||
h5repack | ||
lib | ||
misc | ||
testfiles | ||
Makefile.am | ||
Makefile.in |