mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-21 07:51:46 +08:00
f859cb732b
* fixed missed closing of a dataset * fixed missed closing of a dataset * fixed typo in error return * Committing clang-format changes * minor edits * code format * Committing clang-format changes * code format * minor edit * switched from using MPI_count, to actual bytes written for H5FD_mpio_debug rw debugging * Committing clang-format changes * changed size_i in printf to reflect the I/O. * Committing clang-format changes * Fixed seg fault with xlf on BE with -qintsize=8 * fixed error function string * spelling corrections via codespell, added new spell check github actions * Committing clang-format changes * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * misc * Committing clang-format changes * misc * misc * misc * misc * misc * misc * Committing clang-format changes * misc * work around for https://github.com/codespell-project/codespell/issues/2137 * misc * added missing file * misc * misc. * misc * switch to using Codespell with GitHub Actions * misc. * misc. * fixed more sp errors * Fix new typos found by codespell. * fixed proceed with precede * fixed variable in fortran test * fixed minnum * updated spelling list Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
44 lines
1.1 KiB
Bash
Executable File
44 lines
1.1 KiB
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# 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 COPYING file, which can be found at the root of the source code
|
|
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
|
# If you do not have access to either file, you may request a copy from
|
|
# help@hdfgroup.org.
|
|
#
|
|
# Compare the modification time of file argument 1 against other file arguments.
|
|
# Return true (0) if argument 1 is newer than all others, otherwise return
|
|
# false (1). If any of the argument is not a file, return false (1).
|
|
#
|
|
# Programmer: Albert Cheng
|
|
# Created Date: 2005/07/06
|
|
# Modification:
|
|
# Albert Cheng 2005/8/30
|
|
# Changed from two arguments to multiple arguments.
|
|
|
|
if test $# -lt 2; then
|
|
exit 1
|
|
fi
|
|
if test ! -f $1; then
|
|
exit 1
|
|
fi
|
|
f1=$1
|
|
shift
|
|
|
|
for f in $*; do
|
|
if test ! -f $f; then
|
|
exit 1
|
|
fi
|
|
if test X = X`find $f1 -newer $f -print`; then
|
|
exit 1
|
|
fi
|
|
done
|
|
|
|
# passed all tests. Must be a file newer than all others.
|
|
exit 0
|