Opened 13 years ago
Closed 13 years ago
#3505 closed Bugs (fixed)
mapped_file windows handle validity check patch against 1.40.0
| Reported by: | Owned by: | Jonathan Turkanis | |
|---|---|---|---|
| Milestone: | Boost 1.41.0 | Component: | iostreams |
| Version: | Boost 1.40.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
Windows CreateFile returns INVALID_HANDLE_VALUE on failure while CreateFileMapping returns NULL. is_open() and cleanup_and_throw(...) assumed reversed.
Attachments (2)
Change History (4)
by , 13 years ago
| Attachment: | mapped_file.cpp.patch added |
|---|
by , 13 years ago
| Attachment: | mapped_file.cpp.2.patch added |
|---|
mapped_file, Windows build, invalid handle check patch (omits diff against unrelated file mistakenly included in previous patch)
comment:1 by , 13 years ago
Note:
See TracTickets
for help on using tickets.

mapped_file, Windows build, invalid handle check patch