diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-03-10 07:41:24 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-03-10 07:41:24 (GMT) |
commit | 4a2a4bd95b8c0ce284f428be5ddcf937b5ce7662 (patch) | |
tree | 6015f9f170222985c5d1efacb9396c629c18cb43 /testpar | |
parent | 6b1176f34e780cd597f32991ae3952ea371c66fe (diff) | |
download | hdf5-4a2a4bd95b8c0ce284f428be5ddcf937b5ce7662.zip hdf5-4a2a4bd95b8c0ce284f428be5ddcf937b5ce7662.tar.gz hdf5-4a2a4bd95b8c0ce284f428be5ddcf937b5ce7662.tar.bz2 |
[svn-r26413] Merge of r26276 from trunk.
Cleans up time functions in the autotools input files.
- Lumps all the time functionality together in configure.ac.
This was previously more spread out due to Solaris issues
with the ordering of certain checks.
- Removes processing that handles __tm_gmtoff members of struct
tm. (libc-4)
- Removes BSDgettimeofday(). (IRIX 5.3)
- Removes timezone struct processing in gettimeofday(). (considered
harmful)
Fixes: HDFFV-9083 and HDFFV-9085
Tested on: h5committest
OS X (quail)
Solaris (emu)
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_cache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c index 85315ce..290cd3f 100644 --- a/testpar/t_cache.c +++ b/testpar/t_cache.c @@ -4242,7 +4242,6 @@ setup_rand(void) unsigned predefined_seeds[3] = {33402, 33505, 33422}; unsigned seed; struct timeval tv; - struct timezone tz; if ( ( use_predefined_seeds ) && ( world_mpi_size == num_predefined_seeds ) ) { @@ -4258,7 +4257,7 @@ setup_rand(void) } else { - if ( HDgettimeofday(&tv, &tz) != 0 ) { + if ( HDgettimeofday(&tv, NULL) != 0 ) { nerrors++; if ( verbose ) { |