summaryrefslogtreecommitdiffstats
path: root/src/H5Flow.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-01-18 17:54:16 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-01-18 17:54:16 (GMT)
commita2db22ab74d0b4c552e9efe25209ca68ac42ce5d (patch)
tree712fe992c5fef6460ac77ee4a65138433b2f4947 /src/H5Flow.c
parentd10cb54a94a13ec7a095ac24039c405867117d4b (diff)
downloadhdf5-a2db22ab74d0b4c552e9efe25209ca68ac42ce5d.zip
hdf5-a2db22ab74d0b4c552e9efe25209ca68ac42ce5d.tar.gz
hdf5-a2db22ab74d0b4c552e9efe25209ca68ac42ce5d.tar.bz2
[svn-r1023] Changes since 19990105
---------------------- ./INSTALL ./doc/html/Compression.html ./doc/html/Filters.html Disassociated GNU from zlib. Did not change the introduction which incorrectly states that compression in hdf5 is available only if GNU gzip is available (should read zlib). Changed a typo in INSTALL to match what is documented in various other places: that zlib 1.1.2 (not 1.0.2) or better is required for compression. Added a reference to the main zlib web page in various places. ./src/H5Fistore.c Fixed a typo in a comment. ./src/H5Flow.c Removed carriage returns from the end of lines. ./test/dsets.c The deflate compression tests are still run but `-SKIP-' is printed instead of `PASSED' if the zlib library was not detected at configuration time. The tests check that the compression layer (H5Z) is correctly bypassed.
Diffstat (limited to 'src/H5Flow.c')
-rw-r--r--src/H5Flow.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/H5Flow.c b/src/H5Flow.c
index 274d77c..68492de 100644
--- a/src/H5Flow.c
+++ b/src/H5Flow.c
@@ -479,9 +479,9 @@ H5F_low_access(const H5F_low_class_t *type, const char *name,
const H5F_access_t *access_parms, int mode,
H5F_search_t *key/*out*/)
{
- htri_t ret_value;
- struct stat sb;
- int fid;
+ htri_t ret_value;
+ struct stat sb;
+ int fid;
FUNC_ENTER(H5F_low_size, FAIL);
assert(type);
@@ -492,17 +492,17 @@ H5F_low_access(const H5F_low_class_t *type, const char *name,
ret_value = (0 == HDaccess(name, mode) ? TRUE : FALSE);
if (key) {
#ifdef WIN32
- /*
- this extra block is needed because windows sets the st_dev member of sb
- to be 0 if it is a file which makes the comparison below wrong
- */
-
- fid=open(name,mode|_O_BINARY);
- HDfstat(fid,&sb);
- close(fid);
+ /*
+ * This extra block is needed because windows sets the st_dev
+ * member of sb to be 0 if it is a file which makes the comparison
+ * below wrong
+ */
+ fid=open(name,mode|_O_BINARY);
+ HDfstat(fid,&sb);
+ close(fid);
#else
HDstat(name, &sb);
-#endif
+#endif
key->dev = sb.st_dev;
key->ino = sb.st_ino;
}