diff options
author | jtb <jtb@pkgsrc.org> | 2001-01-19 20:46:49 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-01-19 20:46:49 +0000 |
commit | 14893359e7faadbaf7437497ee84400aced24e2c (patch) | |
tree | ea4c8970ef27764174f306efbf0884f1d308eae0 /devel/hdf5 | |
parent | 580fb41d4b074a2cecd026b14dc5aabd5da12996 (diff) | |
download | pkgsrc-14893359e7faadbaf7437497ee84400aced24e2c.tar.gz |
The `h5debug' program makes no allowance for the case where (argc < 2). Just
print a one line usage statement and exit in this case.
Diffstat (limited to 'devel/hdf5')
-rw-r--r-- | devel/hdf5/files/patch-sum | 3 | ||||
-rw-r--r-- | devel/hdf5/patches/patch-aa | 16 | ||||
-rw-r--r-- | devel/hdf5/pkg/COMMENT | 2 |
3 files changed, 20 insertions, 1 deletions
diff --git a/devel/hdf5/files/patch-sum b/devel/hdf5/files/patch-sum new file mode 100644 index 00000000000..065883028f0 --- /dev/null +++ b/devel/hdf5/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1 2001/01/19 20:46:49 jtb Exp $ + +MD5 (patch-aa) = 79d16e59ffcc51db50258ee89053f18a diff --git a/devel/hdf5/patches/patch-aa b/devel/hdf5/patches/patch-aa new file mode 100644 index 00000000000..306721a4dcb --- /dev/null +++ b/devel/hdf5/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1 2001/01/19 20:46:50 jtb Exp $ + +--- tools/h5debug.c.orig Thu Jan 11 23:18:07 2001 ++++ tools/h5debug.c +@@ -56,6 +56,11 @@ + herr_t status = SUCCEED; + haddr_t extra; + ++ if (argc < 2) { ++ fprintf(stderr, "Usage: %s FILENAME [OFFSET]\n", argv[0]); ++ exit (1); ++ } ++ + /* + * Open the file and get the file descriptor. + */ diff --git a/devel/hdf5/pkg/COMMENT b/devel/hdf5/pkg/COMMENT index 9b3399da9fd..0832a2d87bd 100644 --- a/devel/hdf5/pkg/COMMENT +++ b/devel/hdf5/pkg/COMMENT @@ -1 +1 @@ -Hierarchical Data Format 5 +Hierarchical Data Format (version 5) |