Skip to content

Commit

Permalink
6 ➡️ 7 (#244)
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina authored Apr 5, 2022
2 parents 2a1758c + f50f74e commit 21c5eb5
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
23 changes: 22 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,28 @@

## Ignition Fuel Tools 6.x

### Ignition Fuel Tools 6.X.X (20XX-XX-XX)
### Ignition Fuel Tools 6.2.0 (2022-03-25)

1. Fix trailing slashes in failing tests
* [Pull request #237](https://github.com/ignitionrobotics/ign-fuel-tools/pull/237)

1. Print error when unzipping fails to save a file
* [Pull request #235](https://github.com/ignitionrobotics/ign-fuel-tools/pull/235)

1. More checks when manipulating file system in tests
* [Pull request #227](https://github.com/ignitionrobotics/ign-fuel-tools/pull/227)

1. Move test cache to build folder
* [Pull request #222](https://github.com/ignitionrobotics/ign-fuel-tools/pull/222)

1. Improve and fix ResultType tests
* [Pull request #225](https://github.com/ignitionrobotics/ign-fuel-tools/pull/225)

1. `FuelClient.cc`: `include <deque>`
* [Pull request #213](https://github.com/ignitionrobotics/ign-fuel-tools/pull/213)

1. APIs for retrieving models in parallel
* [Pull request #199](https://github.com/ignitionrobotics/ign-fuel-tools/pull/199)

### Ignition Fuel Tools 6.1.0 (2021-10-15)

Expand Down
13 changes: 11 additions & 2 deletions src/Zip.cc
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ bool Zip::Extract(const std::string &_src,
<< "Do you have the right permissions?" << std::endl;
return false;
}
continue;
}

// Create and write the files.
Expand All @@ -168,9 +169,17 @@ bool Zip::Extract(const std::string &_src,
if (len < 0)
ignerr << "Error reading " << sb.name << std::endl;
else
{
file.write(buf, len);

igndbg << "Created file [" << dst << "]" << std::endl;
if (file.fail())
{
ignerr << "Failed to write file [" << dst << "]" << std::endl;
}
else
{
igndbg << "Created file [" << dst << "]" << std::endl;
}
}

delete[] buf;
file.close();
Expand Down

0 comments on commit 21c5eb5

Please sign in to comment.