summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-04-13 19:17:15 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-04-13 19:17:15 (GMT)
commitc7902828cdf38875531cd7015583810b6bab2f2c (patch)
treedb5994c0a0a16a12047fc250cddb5278b9cf4eb1 /hl/tools/gif2h5
parentd766ca0cd2fc1345ce03d32871733e7a5c67421f (diff)
downloadhdf5-c7902828cdf38875531cd7015583810b6bab2f2c.zip
hdf5-c7902828cdf38875531cd7015583810b6bab2f2c.tar.gz
hdf5-c7902828cdf38875531cd7015583810b6bab2f2c.tar.bz2
[svn-r13656]
remove an unnecessary file name size limit tested: linux
Diffstat (limited to 'hl/tools/gif2h5')
-rw-r--r--hl/tools/gif2h5/hdf2gif.c9
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];