summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2015-06-16 21:42:48 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2015-06-16 21:42:48 (GMT)
commitfc0fba145e327423103039283db67fdeb6395727 (patch)
tree308672dfaa7c25347f91edcaea9b6c9570c4d593 /examples
parent616106ade325b1973ef9f5220d6864ae54112b47 (diff)
downloadhdf5-fc0fba145e327423103039283db67fdeb6395727.zip
hdf5-fc0fba145e327423103039283db67fdeb6395727.tar.gz
hdf5-fc0fba145e327423103039283db67fdeb6395727.tar.bz2
[svn-r27220] Maintenance: Added copyrigth; removed read buffer initialization since fill value feature works now.
Tested on jam.
Diffstat (limited to 'examples')
-rw-r--r--examples/h5_vds.c20
1 files changed, 15 insertions, 5 deletions
diff --git a/examples/h5_vds.c b/examples/h5_vds.c
index 79a3f01..a4909dc 100644
--- a/examples/h5_vds.c
+++ b/examples/h5_vds.c
@@ -1,3 +1,18 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * Copyright by the Board of Trustees of the University of Illinois. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the files COPYING and Copyright.html. COPYING can be found at the root *
+ * of the source code distribution tree; Copyright.html can be found at the *
+ * root level of an installed copy of the electronic HDF5 document set and *
+ * is linked from the top-level documents page. It can also be found at *
+ * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
+ * access to either file, you may request a copy from help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
/************************************************************
This example illustrates the concept of virtual dataset.
@@ -223,11 +238,6 @@ main (void)
free(dsetname);
free(buf);
}
- /* EIP Initialize read buffer with -2 since fille values for VDS are not implemented yet */
- for (i=0; i<VDSDIM0; i++) {
- for (j=0; j<VDSDIM1; j++)
- rdata[i][j] = -2;
- }
/*
* Read the data using the default properties.