Skip to content

Commit

Permalink
Aws 1.8.187 (#1833)
Browse files Browse the repository at this point in the history
* Update AWS SDK to 1.8.187

Signed-off-by: Yong Tang <[email protected]>

* Fix

* Update

---------

Signed-off-by: Yong Tang <[email protected]>
  • Loading branch information
yongtang authored Aug 21, 2023
1 parent 744fd06 commit e219e29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,10 @@ http_archive(
"""sed -i.bak 's/UUID::RandomUUID/Aws::Utils::UUID::RandomUUID/g' aws-cpp-sdk-core/source/client/AWSClient.cpp""",
"""sed -i.bak 's/__attribute__((visibility("default")))//g' aws-cpp-sdk-core/include/aws/core/external/tinyxml2/tinyxml2.h """,
],
sha256 = "749322a8be4594472512df8a21d9338d7181c643a00e08a0ff12f07e831e3346",
strip_prefix = "aws-sdk-cpp-1.8.186",
sha256 = "ae1cb22225b1f47eee351c0064be5e87676bf7090bb9ad19888bea0dab0e2749",
strip_prefix = "aws-sdk-cpp-1.8.187",
urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/github.com/aws/aws-sdk-cpp/archive/1.8.186.tar.gz",
"https://github.com/aws/aws-sdk-cpp/archive/1.8.186.tar.gz",
"https://github.com/aws/aws-sdk-cpp/archive/1.8.187.tar.gz",
],
)

Expand Down
2 changes: 1 addition & 1 deletion tensorflow_io/core/filesystems/s3/s3_filesystem.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ void CreateDir(const TF_Filesystem* filesystem, const char* path,

PathExists(filesystem, dir_path.c_str(), status);
if (TF_GetCode(status) == TF_OK) {
std::unique_ptr<TF_WritableFile, void (*)(TF_WritableFile* file)> file(
std::unique_ptr<TF_WritableFile, void (*)(TF_WritableFile * file)> file(
new TF_WritableFile, [](TF_WritableFile* file) {
if (file != nullptr) {
if (file->plugin_file != nullptr) tf_writable_file::Cleanup(file);
Expand Down

0 comments on commit e219e29

Please sign in to comment.