summaryrefslogtreecommitdiffstats
path: root/src/H5system.c
Commit message (Collapse)AuthorAgeFilesLines
* Minor normalizations with 1.12 branchDana Robinson2020-08-011-4/+4
|
* va_arg -> HDva_argQuincey Koziol2020-06-271-1/+1
|
* Refactor code to remove remaining checks for H5_HAVE_GETTIMEOFDAY scattered ↵Quincey Koziol2020-06-271-32/+0
| | | | around in various places. Also clean up iopipe.c.
* Merge remote-tracking branch 'origin/develop' into monotonic_timerQuincey Koziol2020-06-261-40/+205
|\
| * Trim trailing whitespaceQuincey Koziol2020-04-201-1/+1
| |
| * Reduce differences between my -Werror branch and `develop`:David Young2020-01-291-3/+2
| | | | | | | | | | | | | | | | Rename index -> idx, fileno -> fnumber, fileno -> fno to avoid GCC shadowed declaration warnings about index(3). Convert #pragma GCC diagnostic push/pop/ignored to the HDF5 library's H5_GCC_DIAG_OFF()/H5_GCC_DIAG_ON() macros.
| * Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-0/+28
| |
| * Small changes from the token_refactoring branch, to reduce the delta to developQuincey Koziol2020-01-041-1/+3
| |
| * Fixed a bug where we incorrectly pass a lock struct to fcntlDana Robinson2019-08-271-1/+1
| | | | | | | | for file locking instead of a pointer.
| * Updates to warnhist script, along with a few cleanups, and add some commentsQuincey Koziol2019-07-101-2/+2
| | | | | | | | to warning cleanups that are a bit obscure.
| * Add support for GCC9, update warnhist script, and clean up warnings.Quincey Koziol2019-07-031-2/+2
| |
| * Updated configure & CMake compiler flags for GCC 8.x, along with correspondingQuincey Koziol2019-06-281-4/+9
| | | | | | | | | | changes to warnhist script (and some extra improvements for condensing C++ and Java warnings), and fixed a bunch of warnings.
| * Moving the handling of null prefix into H5_combine_path.Songyu Lu2019-04-171-3/+3
| |
| * Adds _wopen support on Windows so that files with UTF-8 namesDana Robinson2019-03-151-0/+126
| | | | | | | | | | | | can be opened. Fixes: HDFFV-2714, HDFFV-3914, HDFFV-3895, HDFFV-8237, HDFFV-10413, HDFFV-10691
| * Added HD to va_* calls in a couple of library files.Dana Robinson2018-12-171-27/+32
| |
| * Develop normalization with vol_integration.Dana Robinson2018-09-191-5/+5
| | | | | | | | | | Mostly peripheral things like the tools and wrappers, with just enough core library code to support that.
| * Fixed HDFFV-10404Binh-Minh Ribler2018-07-131-5/+5
| | | | | | | | | | | | | | | | | | Description: Applied the typo fixes from user's report. The previous pull request couldn't be merged because it was too old, and it was too complicated for me to resolve conflicts. Platform tested: Linux/64 (jelly) - very minor
| * HDFFV-9724 Corrected files and verified testsAllen Byrne2017-12-281-1/+1
| |
| * Revert "Merge pull request #826 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to ↵lrknox2017-12-221-1/+1
| | | | | | | | | | | | | | develop" This reverts commit b1223dd653e65e076af92b2dfe236f3704da81c8, reversing changes made to b25f123f5f5e25c1447a6a02861cb7c7265c12f2.
| * Add HD prefixAllen Byrne2017-12-201-1/+1
| |
| * HDFFV-9724 Copy efc_open search from Lextern_traverseAllen Byrne2017-12-151-1/+1
| |
| * Fixed misc Warnings flagged by VS2017.Dana Robinson2017-11-271-1/+1
| |
* | Changes to make timers within the library monotonic.Quincey Koziol2017-09-031-13/+104
|/
* Minor tweaks in response to code review.Dana Robinson2017-08-011-6/+2
|
* Major rework of H5PL package code before bringing VOL changesDana Robinson2017-07-141-0/+50
| | | | | | | | over. Brings coding standards in line with the rest of the library, enforces better software engineering principles, and makes everything more maintainable.
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* Update cmake pubconf to match autotools and add strtoll checksAllen Byrne2017-03-161-16/+17
|
* Fix bad implementation of Windows nanosleep equivalent.Dana Robinson2016-12-121-4/+3
|
* Added Windows-only versions of the round() functions, which do notderobins2016-12-021-0/+50
| | | | | | exist in VS2012 and earlier. Tested on: 32-bit Windows 7 w/ VS2012 Pro
* Bring over support for retrying metadata cache entry loads, along with all theQuincey Koziol2016-11-201-0/+81
| | | | supporting metadata cache callback changes, etc.
* Code style and warning cleanups, from revise_chunks branch.Quincey Koziol2016-11-061-1/+1
|
* [svn-r30189] Description:Quincey Koziol2016-07-181-15/+14
| | | | | | | | | Clean up more warnings: drop the warning count from ~1310 down to ~940, with only 31 types of warnings in 148 files (down from 38 types in 167 files). Tested on: MacOSX/64 10.11.5 (amazon) w/serial & parallel (h5committest forthcoming)
* [svn-r29482] Switched a few Visual Studio #ifdefs to Win32Dana Robinson2016-03-211-2/+2
| | | | Tested on 64-bit Win10 w/ VS 2015 Pro
* [svn-r29182] Re-commit of HDFFV-8740 fix, which adds the ability to configureDana Robinson2016-02-221-10/+119
| | | | | | | | | | | | external dataset storage path behavior. This check-in fixes a bug in the original check-in where the external path stored in the file struct was not copied on reopen causing subsequent dataset operations to fail. Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 autotools serial w/ fortran and C++ autotools parallel (MPICH 3.1.4) w/ fortran
* [svn-r29084] Revert of:Dana Robinson2016-02-111-119/+10
| | | | | | | | | | | | | | | r29069 and 72 (gheap cleanup) r29041 and 43 (HDFFV-8740 external storage) These cause problems in the daily tests. They will be re-introduced when their respective problems have been addressed. Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 autotools serial (check-vfd) w/ Fortran and C++ autotools parallel w/ Fortran CMake serial
* [svn-r29043] Fixes to make relative external storage work on Windows. Part ↵Dana Robinson2016-02-041-2/+2
| | | | | | | | | of HDFFV-8740. - Fixed typo in Wsetenv(). - Changed HDoff_t back to off_t in test/external.c. The function signature is off_t so the types must match or you can get conversion errors. Tested on 64-bit Windows 10 w/ VS 2015
* [svn-r29041] Patch from Steffen Kiess that allows a relative path to be ↵Dana Robinson2016-02-041-10/+119
| | | | | | | | | | | specified for external dataset files set via H5Pset_external(). Resolves HDFFV-8740 Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 autotools serial
* [svn-r28581] Brought flock changes over from revise_chunks as well as a fewDana Robinson2015-12-111-1/+111
| | | | | | | minor tweaks from H5private.h. Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial only, autotools and CMake (3.3.2)
* [svn-r28422] Description:Quincey Koziol2015-11-201-10/+10
| | | | | | | | | | Revert most of r27549, since revise_chunks code requires debugging contexts for v2 B-trees. Also, misc. warning cleanups and alignments w/changes on revise_chunks branch. Tested on: MacOSX/64 10.11.1 (amazon) w/serial & parallel (h5committest forthcoming)
* [svn-r28416] Description:Quincey Koziol2015-11-201-21/+66
| | | | | | | | | Refactor time conversion code to put all the system-specific changes into one routine, H5_make_time, in H5system.c. Tested on: MacOSX/64 10.11.1 (amazon) w/serial & parallel (h5committest forthcoming)
* [svn-r28236] Rework get timezone function to add another exclusion define ↵Allen Byrne2015-10-271-2/+6
| | | | | | | (H5_HAVA_TM_GMTOFF). Also needed to add prototype - followed lead of HDrand. Tested linux and windows
* [svn-r28234] Changed a C++-style comment to C-style.Dana Robinson2015-10-271-4/+6
|
* [svn-r28229] HDFFV-9550: Rework timezone usage to localize the #ifdef blocks ↵Allen Byrne2015-10-261-0/+31
| | | | to a HDget_timezone function.
* [svn-r27572] Removed VMS-specific code from the library.Dana Robinson2015-08-241-60/+2
| | | | | | | | | The only remaining code consists of a few floating-point tests that rely on pre-generated and checked-in VMS files. These have been left alone, even though they will not be possible to recreate, since testing VMS float behavior is still important. Tested on: h5committest
* [svn-r26438] Fixed some double promotion warnings from gcc 4.9.2. Most were inDana Robinson2015-03-111-1/+1
| | | | | | format strings. Tested on: h5committest
* [svn-r24726] Description:Quincey Koziol2014-02-201-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert some earlier usage of strncpy, which was incorrect. Bring Coverity changes from branch back to trunk: r20821: Use HDstrncpy. --gh (Fixed already, with strdup) r20822: (Not merged, incorrect use of HDstrncpy()) r20823: (Not merged, incorrect use of HDstrncpy()) r20824: Maintenance: Bug fix: addressed CID 666. Value stored at *expression_len should be used in the call to HD5packFstring to avoid overflow (and unnecessary arithmetic calculation and casting) r20825: Issue 642: Added check for error and handler with print to stderr and exit. r20826: Undo revision 20818, as that issue has already been fixed in the 1.8 branch and trunk (but not coverity branch) r20827: (Not merged, incorrect use of HDstrncpy()) r20828: Use HDstrncpy. --gh (Corrected use of strncpy()) r20829: Check return of H5Lget_val(print_udata->fid, path, targbuf, linfo->u.val_size + 1, H5P_DEFAULT) and if error set trgbuf[0] to 0. Check if H5Lunpack_elink_val(targbuf, linfo->u.val_size, NULL, &filename, &objname) was successful and allow print. Otherwise filename and objname are not created. (init those to NULL) r20830: resolved coverity issues 939, 940, 941, 944, and 947. all were complaints about use of sprintf, and in all cases, the buffers used were large enough for all eventualities. Resolved issue by replacing calls to sprintf with calls to snprintf. r20831: Maintenance: Addressed CID 852 Replaced sprintf with snprintf r20832: Purpose: Fix valgrind issues with hl/examples/ex_image2 Description: Modified hl/examples/ex_image2 to free global "gbuf" before exit. Tested on: Mac OSX/64 10.9.1 (amaon) w/C++, FORTRAN & Threadsafety (too minor to require h5committest)
* [svn-r24285] Eliminate several "passing argument ... with different width ↵Larry Knox2013-10-101-2/+2
| | | | | | due to prototype" warnings by casting constants to size_t where expected by string functions. Tested on jam, koala,ostrich and platypus with h5committest.
* [svn-r23889] Description:Quincey Koziol2013-07-111-60/+93
| | | | | | | | | | | | | | Merge changes from Coverity branch to trunk: r20768: Switch to snprintf, HDstrncat, HDstrncpy to address coverity issue 832. r20812: Use HDstrncpy. --gh Tested on: Mac OSX/64 10.8.4 (amazon) w/debug Linux/32 2.4 (jam) w/debug
* [svn-r23862] Change printfs in perform output and h5dump to prevent overflow.Mohamad Chaarawi2013-07-031-1/+2
| | | | | | This fixes: https://jira.hdfgroup.uiuc.edu/browse/HDFFV-8450 Tested on Jam.
* [svn-r23854] HDFFV-8302: Add macros/code function to use coorect Windows ↵Allen Byrne2013-07-011-0/+24
| | | | | | (v)snprintf statement. Also fix use other uses of macros for windows. Tested