Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix duplicate definition when using aws-sdk-cpp. #2928

Merged
merged 1 commit into from
May 22, 2024

Conversation

DennisHeimbigner
Copy link
Collaborator

@DennisHeimbigner DennisHeimbigner commented May 21, 2024

re: Issue #2927

The NC_s3sdkinitialize and NC_s3sdkfinalize functions were misplaced. They should have been moved from ds3util.c to ncs3sdk_h5.c. When using ncs3sdl_aws.cpp, this resulted in a duplicate definition.

Other changes.

  • Factored out the common code of the ncs3sdk_xxx files.
  • Fixed a memory leak in the NCZarr S3 code.
  • Suppress a google storage test when using aws-sdk-cpp because google storage is not supported.

re: Issue Unidata#2927

The NC_s3sdkinitialize NC_s3sdkfinalize functions were
misplaced. They should have been moved from ds3util.c to
ncs3sdk_h5.c.  When using ncs3sdl_aws.cpp, this resulted in a
duplicate definition.

Also, found and fixed a memory leak in the NCZarr S3 code.
@WardF WardF merged commit 09a5fa3 into Unidata:main May 22, 2024
106 checks passed
@WardF
Copy link
Member

WardF commented Jun 3, 2024

@czender Did this work for you? I'm trying to get v4.9.3 out asap so will test it myself shortly, but curious if it worked for you.

@czender
Copy link
Contributor

czender commented Jun 3, 2024

Yes, I should have let you know earlier that I tested it immediately and it worked fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants