Skip to content

Commit

Permalink
Stat st blocks fix 1822 (#256)
Browse files Browse the repository at this point in the history
* Restores maintainer mode in the autotools (#200)

Maintainer mode should be enabled in development branches.

Also adds helpful commenting.

Add bin/switch_maint_mode
Disable maintainer mode for release.
Fix incomplete merge for stub functions in H5Fdhdfs.c

* Update configure for Restores maintainer mode in the autotools (#200).

* Update MANIFEST for switch_maint_mode script.

* Update so numbers for 1.8.22 release.

* Add so numbers changes in Makefile.ins for 1.8.22 release.

* Update pkgconfig settings with version - #218 (#223)

* Add notice of final HDFF5 1.8 release.
Add solaris 64bit alignment issue to "Known Problems".

* Update 1.8 final release notice.

* Update CMake/HDF5Examples version in bin/release

* Fixed typo in an error message. (#227)

* Remove duplicate setting (#239)

* Fixes Autotools detection of the st_blocks field in stat (#246)

* Fixes Autotools detection of the st_blocks field in stat

The Autotools and CMake will now both correctly determine if the
stat struct has the st_blocks field and set H5_HAVE_STAT_ST_BLOCKS
appropriately.

* Fixes a typo in configure.ac

* Restore lines in RELEASE.txt.

* Updated configure with reconfigure.

Co-authored-by: Dana Robinson <[email protected]>
Co-authored-by: Allen Byrne <[email protected]>
Co-authored-by: bmribler <[email protected]>
  • Loading branch information
4 people authored Jan 12, 2021
1 parent 627fb0e commit 29591b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -26432,13 +26432,14 @@ esac


## ----------------------------------------------------------------------
## Does the struct stat have the st_blocks field? This field is not Posix.
## Does the struct stat have the st_blocks field? This field is not POSIX.
##
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_blocks in struct stat" >&5
$as_echo_n "checking for st_blocks in struct stat... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

#include <sys/stat.h>
#ifdef FC_DUMMY_MAIN
#ifndef FC_DUMMY_MAIN_EQ_F77
# ifdef __cplusplus
Expand All @@ -26450,11 +26451,10 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
int
main ()
{

struct stat sb; sb.st_blocks=0;
;
return 0;
}[
#include <sys/stat.h>],[struct stat sb; sb.st_blocks=0;])
}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :

Expand Down

0 comments on commit 29591b7

Please sign in to comment.