Opened 7 years ago

#6916 new Bugs

file_descriptor_sink is missing the definition for its templated open() function.

Reported by: Aaron Barany <akb825@…> Owned by: Jonathan Turkanis
Milestone: To Be Determined Component: iostreams
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc:


file_descriptor_sink has a templated function to open based on any path type, but the function has no definition, resulting in linker errors if you try to call it. I have attached a patch that implements the function by calling open() with detail::path, the same as how file_descriptor and file_descriptor_source do it.

Attachments (1)

file_descriptor.hpp.patch (701 bytes) - added by Aaron Barany <akb825@…> 7 years ago.
Patch to provide the function definition.

Download all attachments as: .zip

Change History (1)

Changed 7 years ago by Aaron Barany <akb825@…>

Attachment: file_descriptor.hpp.patch added

Patch to provide the function definition.

Note: See TracTickets for help on using tickets.