Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Recreating 4.6.2 release branch. #1166

Merged
merged 9 commits into from
Nov 1, 2018
Merged

Recreating 4.6.2 release branch. #1166

merged 9 commits into from
Nov 1, 2018

Conversation

WardF
Copy link
Member

@WardF WardF commented Oct 22, 2018

PR to manage changes in the release branch that need to be migrated back upstream into master.

@WardF WardF added this to the 4.7.0 milestone Oct 22, 2018
@WardF WardF self-assigned this Oct 22, 2018
gsjaardema and others added 7 commits October 23, 2018 14:05
I think that if the flag `NC_WRITE` *is* set, then the file is not readonly.  I think that the test should be negated.
    #1168
    #1163
    #1162

This PR partially fixes memory leaks in the netcdf-c library,
in the ncdump utility, and in some test cases.

The netcdf-c library now runs memory clean with the assumption
that the --disable-utilities option is used. The primary remaining
problem is ncgen. Once that is fixed, I believe the netcdf-c library
will run memory clean with no limitations.

Notes
-----------
1. Memory checking was performed using gcc -fsanitize=address.
   Valgrind-based testing has yet to be performed.
2. The pnetcdf, hdf4, and examples code has not been tested.

Misc. Non-leak changes
1. Make tst_diskless2 only run when netcdf4 is enabled (issue 1162)
2. Fix CmakeLists.txt to turn off logging if ENABLE_NETCDF_4 is OFF
3. Isolated all my debug scripts into a single top-level directory
   called debug
4. Fix some USE_NETCDF4 dependencies in nc_test and nc_test4 Makefile.am
@WardF
Copy link
Member Author

WardF commented Nov 1, 2018

This pull request fixes 1 alert when merging 6eec91b into 8d5e66e - view on LGTM.com

fixed alerts:

  • 1 for Function declared in block

Comment posted by LGTM.com

@WardF
Copy link
Member Author

WardF commented Nov 1, 2018

This pull request fixes 1 alert when merging 8aad167 into 8d5e66e - view on LGTM.com

fixed alerts:

  • 1 for Function declared in block

Comment posted by LGTM.com

@WardF WardF merged commit 5251980 into master Nov 1, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants