diff options
author | jtb <jtb> | 2001-01-19 20:46:49 +0000 |
---|---|---|
committer | jtb <jtb> | 2001-01-19 20:46:49 +0000 |
commit | 2cef323762173ac1fcc15773237ae38201951c76 (patch) | |
tree | ea4c8970ef27764174f306efbf0884f1d308eae0 /devel/hdf5 | |
parent | 53878de038f09263666aba3798d33e3126b4d92e (diff) | |
download | pkgsrc-2cef323762173ac1fcc15773237ae38201951c76.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) |