diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2009-12-25 12:32:05 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2009-12-25 12:32:05 (GMT) |
commit | a4027247df26eb54e1d8f8df71bcc01c64057b3b (patch) | |
tree | e13bc6672ea4797e1f3757c33c179e12ba8bb525 /hl/tools/gif2h5/decompress.c | |
parent | 2fd8480ec7d2521075c8cda5f68643d6708e80df (diff) | |
download | hdf5-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/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; |