summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2006-03-23 02:32:21 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2006-03-23 02:32:21 (GMT)
commit36dda5514c3e077d34b526dfa059f93e978764c5 (patch)
tree11811a6b40ab1db80d1f2477399479a4134de884 /testpar
parentd80639dda8e676cebcd12eae2f713faa518c35d2 (diff)
downloadhdf5-36dda5514c3e077d34b526dfa059f93e978764c5.zip
hdf5-36dda5514c3e077d34b526dfa059f93e978764c5.tar.gz
hdf5-36dda5514c3e077d34b526dfa059f93e978764c5.tar.bz2
[svn-r12141] Purpose:
portable issue on windows Description: setvbuf on visual studio 2005 needs the size to be greater or equal to 2. <description of setvbuf from msdn library> Buffer size in bytes. Allowable range: 2 <= size <= INT_MAX (2147483647). Internally, the value supplied for size is rounded down to the nearest multiple of 2. h5import used linebuffer option of setvbuf for stderr and stdout and the size is 0 by default. This causes core dump with visual 2005 on windows 64-bit. Solution: 1. Use HDsetvbuf inside h5import.c, 2. Define HDsetvbuf inside windows H5pubconf.h for windows to work around the core dump of h5import test. This is probably a bug inside visual studio 2005. Platforms tested: h5commit(shanti is down) VS 6.0 on windows XP VS 8.0 on windows XP-64bit Misc. update:
Diffstat (limited to 'testpar')
0 files changed, 0 insertions, 0 deletions