diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-04-13 19:17:15 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-04-13 19:17:15 (GMT) |
commit | c7902828cdf38875531cd7015583810b6bab2f2c (patch) | |
tree | db5994c0a0a16a12047fc250cddb5278b9cf4eb1 | |
parent | d766ca0cd2fc1345ce03d32871733e7a5c67421f (diff) | |
download | hdf5-c7902828cdf38875531cd7015583810b6bab2f2c.zip hdf5-c7902828cdf38875531cd7015583810b6bab2f2c.tar.gz hdf5-c7902828cdf38875531cd7015583810b6bab2f2c.tar.bz2 |
[svn-r13656]
remove an unnecessary file name size limit
tested: linux
-rw-r--r-- | hl/tools/gif2h5/hdf2gif.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/hl/tools/gif2h5/hdf2gif.c b/hl/tools/gif2h5/hdf2gif.c index d404322..3f57386 100644 --- a/hl/tools/gif2h5/hdf2gif.c +++ b/hl/tools/gif2h5/hdf2gif.c @@ -19,8 +19,6 @@ #include "H5IMpublic.h" -#define MAX_FILE_LEN 256 - int EndianOrder; static void @@ -75,13 +73,6 @@ int main(int argc , char **argv) return 1; } - if (strlen(argv[1] + 1) > MAX_FILE_LEN || strlen(argv[2] + 1) > MAX_FILE_LEN) - { - /* supplied file names are too long. bail. */ - usage(); - printf("Supplied filenames exceed maximum length of 256 bytes\n"); - } - HDFName = argv[1]; GIFName = argv[2]; |