Merge pull request #4 from roblatham00/housekeeping

Housekeeping
master
Brett Kettering 2015-12-07 15:07:28 -07:00
commit 9593c46c5d
3 changed files with 2 additions and 4 deletions

View File

@ -65,7 +65,6 @@
} while(0)
#else /* ! (H5_VERS_MAJOR > 1 && H5_VERS_MINOR > 6) */
#define HDF5_CHECK(HDF5_RETURN, MSG) do { \
char resultString[1024]; \
\
if (HDF5_RETURN < 0) { \
fprintf(stdout, "** error **\n"); \

View File

@ -32,7 +32,6 @@
* NCMPI_CHECK will display a custom error message and then exit the program
*/
#define NCMPI_CHECK(NCMPI_RETURN, MSG) do { \
char resultString[1024]; \
\
if (NCMPI_RETURN < 0) { \
fprintf(stdout, "** error **\n"); \

View File

@ -202,8 +202,8 @@ void ExtractHint(char *settingVal, char *valueVal, char *hintString)
{
char *settingPtr, *valuePtr, *tmpPtr1, *tmpPtr2;
settingPtr = (char *)strtok(hintString, "=");
valuePtr = (char *)strtok(NULL, " \t\r\n");
settingPtr = (char *)strtok(hintString, " =");
valuePtr = (char *)strtok(NULL, " =\t\r\n");
tmpPtr1 = settingPtr;
tmpPtr2 = (char *)strstr(settingPtr, "IOR_HINT__MPI__");
if (tmpPtr1 == tmpPtr2) {