Opened 10 years ago
Closed 8 years ago
#6945 closed Bugs (fixed)
Handle leak in filesystem::resize_file
| Reported by: | Owned by: | Beman Dawes | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | filesystem |
| Version: | Boost 1.47.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
I have handle leak with filesystem::resize_file if not enough free disk space for resize. File stay locked after exception.
P.S. Using filesystem3 OS: Windows 7
Attachments (1)
Change History (4)
comment:1 by , 10 years ago
comment:3 by , 8 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fixed in develop by applying patch from Kaylyn Bogle. Fix should ship with 1.58.0
Thanks,
--Beman
Note:
See TracTickets
for help on using tickets.

In libs/filesystem/src/operations.cpp
SetEndOfFileis failing and short-circuiting beforeCloseHandleis called.