summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5/hdf2gif.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2009-12-25 12:32:05 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2009-12-25 12:32:05 (GMT)
commita4027247df26eb54e1d8f8df71bcc01c64057b3b (patch)
treee13bc6672ea4797e1f3757c33c179e12ba8bb525 /hl/tools/gif2h5/hdf2gif.c
parent2fd8480ec7d2521075c8cda5f68643d6708e80df (diff)
downloadhdf5-a4027247df26eb54e1d8f8df71bcc01c64057b3b.zip
hdf5-a4027247df26eb54e1d8f8df71bcc01c64057b3b.tar.gz
hdf5-a4027247df26eb54e1d8f8df71bcc01c64057b3b.tar.bz2
[svn-r18050] Bug fix: 1192
Description: Some exit code (sometimes return code in Main) to follow the HDF5 standards. Tested: H5committested plus serial test in Jam.
Diffstat (limited to 'hl/tools/gif2h5/hdf2gif.c')
-rw-r--r--hl/tools/gif2h5/hdf2gif.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hl/tools/gif2h5/hdf2gif.c b/hl/tools/gif2h5/hdf2gif.c
index 9c252e1..cc8e864 100644
--- a/hl/tools/gif2h5/hdf2gif.c
+++ b/hl/tools/gif2h5/hdf2gif.c
@@ -82,7 +82,7 @@ int main(int argc , char **argv)
{
/* they didn't supply at least one image -- bail */
usage();
- return 1;
+ return EXIT_FAILURE;
}
HDFName = argv[1];
@@ -313,7 +313,7 @@ int main(int argc , char **argv)
if (image_name != NULL)
free(image_name);
- return 0;
+ return EXIT_SUCCESS;
out:
@@ -323,5 +323,5 @@ out:
if (image_name != NULL)
free(image_name);
- return 1;
+ return EXIT_FAILURE;
}