summaryrefslogtreecommitdiffstats
path: root/src/H5Eint.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2009-04-21 23:28:58 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2009-04-21 23:28:58 (GMT)
commit37906de73c0d52a3ae18d4683fa7517cda57c04c (patch)
treebcd7dda1513712a311cea149ef9bc7f86812e977 /src/H5Eint.c
parent7d55aa03a29a2bf5efe0eac7c4505ebf43403975 (diff)
downloadhdf5-37906de73c0d52a3ae18d4683fa7517cda57c04c.zip
hdf5-37906de73c0d52a3ae18d4683fa7517cda57c04c.tar.gz
hdf5-37906de73c0d52a3ae18d4683fa7517cda57c04c.tar.bz2
[svn-r16829] Bug fix.
In Up (AIX system), the insert_libhdf5_settings() infinite looped because it never found EOF. Man getc in another system said: "If the integer value returned by getc() is stored into a variable of type char and then compared against the integer constant EOF, the com- parison may never succeed, because sign-extension of a variable of type char on widening to integer is implementation-defined." Solution: Changed inchar from type char to int fixed the problem. Morale of the story: RTFM or HTCW (heed the compiler warnings). Tested: Up (AIX 5.3).
Diffstat (limited to 'src/H5Eint.c')
0 files changed, 0 insertions, 0 deletions