Modify

Ticket #3953 (closed Bugs: fixed)

Opened 4 years ago

Last modified 4 years ago

[boost][iostreams] mapped_file bug on Win32?

Reported by: Erik Nelson <erik.l.nelson@…> Owned by: danieljames
Milestone: Boost 1.43.0 Component: iostreams
Version: Boost 1.42.0 Severity: Problem
Keywords: Cc:

Description

error checking may be incorrect... see discussion at

 http://comments.gmane.org/gmane.comp.lib.boost.devel/199777

it looks to me like eg's solution (see the thread) would work

Attachments

mapped_file_test.patch Download (1.1 KB) - added by egoots@… 4 years ago.
Test added which triggers the described failure
mapped_file.patch Download (849 bytes) - added by egoots@… 4 years ago.
fix to mapped_file.cpp which fixes this error

Change History

Changed 4 years ago by egoots@…

Test added which triggers the described failure

Changed 4 years ago by egoots@…

fix to mapped_file.cpp which fixes this error

comment:1 Changed 4 years ago by egoots@…

Note; The above patches were made against the 1.42.0 sources

comment:2 Changed 4 years ago by anonymous

  • Version changed from Boost 1.41.0 to Boost 1.42.0

comment:3 Changed 4 years ago by danieljames

(In [60281]) Fix error checks after calling SetFilePointer?. Refs #3953

Thanks to Eg. Especially for writing a test.

comment:4 Changed 4 years ago by danieljames

  • Owner changed from turkanis to danieljames
  • Status changed from new to assigned

comment:5 Changed 4 years ago by danieljames

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

(In [60666]) Merge iostreams.

  • Fix write_device_impl<ostream_tag>. Fixes #3839
  • Fix error checks after calling SetFilePointer?. Fixes #3953
  • Gzip filter shouldn't require its source to be peekable. Fixes #3723.
  • In position_to_offset, only cast to stream_offset after calculating _Myoff. Fixes #3969.
  • ptrdiff_t is in std. Fixes #2505.
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.