Modify

Ticket #3505 (closed Bugs: fixed)

Opened 5 years ago

Last modified 4 years ago

mapped_file windows handle validity check patch against 1.40.0

Reported by: yrs90@… Owned by: 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

mapped_file.cpp.patch Download (1.4 KB) - added by yrs90@… 5 years ago.
mapped_file, Windows build, invalid handle check patch
mapped_file.cpp.2.patch Download (1015 bytes) - added by yrs90@… 5 years ago.
mapped_file, Windows build, invalid handle check patch (omits diff against unrelated file mistakenly included in previous patch)

Change History

Changed 5 years ago by yrs90@…

mapped_file, Windows build, invalid handle check patch

Changed 5 years ago by yrs90@…

mapped_file, Windows build, invalid handle check patch (omits diff against unrelated file mistakenly included in previous patch)

comment:1 Changed 4 years ago by danieljames

(In [57612]) Fix mapped file errors in windows. Refs #3505.

By Richard Smith.

comment:2 Changed 4 years ago by danieljames

  • Status changed from new to closed
  • Resolution set to fixed

(In [58633]) Merge iostream fixes, mostly by Richard Smith.

Fixes #3612, #3311, #2094, #3010, #2894, #3011, #3352, #3505.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.