summaryrefslogtreecommitdiffstats
path: root/src/H5detect.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2013-09-04 22:09:23 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2013-09-04 22:09:23 (GMT)
commita1fe10691cf7ce1737aa420191efb996f7fe5657 (patch)
tree62bb58f53679b72a0ddbd88bb2b6f63527f9ade3 /src/H5detect.c
parentbf1c137c0c7ff571f1a40e7ae8e28617de70c95c (diff)
downloadhdf5-a1fe10691cf7ce1737aa420191efb996f7fe5657.zip
hdf5-a1fe10691cf7ce1737aa420191efb996f7fe5657.tar.gz
hdf5-a1fe10691cf7ce1737aa420191efb996f7fe5657.tar.bz2
[svn-r24098] Issue 8500 - H5detect.c has trouble to find info for long double with GCC 4.8. A user in the forum found the
problem in H5detect.c (uninitialized buffer) and provided the solution. I checked it in yesterday. But it turned out to be a false fix. So I'm back it out. Tested on jam - reverse of changes.
Diffstat (limited to 'src/H5detect.c')
-rw-r--r--src/H5detect.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/H5detect.c b/src/H5detect.c
index 25fe778..2bf0d2d 100644
--- a/src/H5detect.c
+++ b/src/H5detect.c
@@ -238,7 +238,6 @@ precision (detected_t *d)
unsigned char *_x; \
\
HDmemset(&INFO, 0, sizeof(INFO)); \
- HDmemset(INFO.perm, 0, sizeof(INFO.perm)); \
INFO.varname = #VAR; \
INFO.size = sizeof(TYPE); \
\
@@ -298,7 +297,6 @@ precision (detected_t *d)
char *_mesg; \
\
HDmemset(&INFO, 0, sizeof(INFO)); \
- HDmemset(INFO.perm, 0, sizeof(INFO.perm)); \
INFO.varname = #VAR; \
INFO.size = sizeof(TYPE); \
\