diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2009-12-25 12:37:55 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2009-12-25 12:37:55 (GMT) |
commit | 840e04ab5f5ce7fa5d07a3c9187944c27f9534e9 (patch) | |
tree | f7bcc6421a20d20e3a4ec5b029adf0097e8686ed /hl/tools/gif2h5/decompress.c | |
parent | 06ce6af638e6eecd9a80c3e4757bb8361b68f889 (diff) | |
download | hdf5-840e04ab5f5ce7fa5d07a3c9187944c27f9534e9.zip hdf5-840e04ab5f5ce7fa5d07a3c9187944c27f9534e9.tar.gz hdf5-840e04ab5f5ce7fa5d07a3c9187944c27f9534e9.tar.bz2 |
[svn-r18051] 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/decompress.c')
-rw-r--r-- | hl/tools/gif2h5/decompress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/tools/gif2h5/decompress.c b/hl/tools/gif2h5/decompress.c index 435e272..2e44f1c 100644 --- a/hl/tools/gif2h5/decompress.c +++ b/hl/tools/gif2h5/decompress.c @@ -222,7 +222,7 @@ Decompress(GIFIMAGEDESC *GifImageDesc, GIFHEAD *GifHead) if (!(Image = (BYTE *)malloc((size_t)IWidth*(size_t)IHeight))) { printf("Out of memory"); - exit(-1); + exit(EXIT_FAILURE); } BytesPerScanline = IWidth; |