Opened 16 years ago

Closed 15 years ago

#823 closed Feature Requests (fixed)

Seekable file_descriptor_source /sink?

Reported by: gmsb Owned by: Jonathan Turkanis
Milestone: Component: iostreams
Version: None Severity: Showstopper
Keywords: Cc:

Description (last modified by Marshall Clow)

The supplied file_descriptor_source and file_descriptor_sink are not seekable. Is this an oversight?

For file_descriptor_source, all that appears to be needed is changing from:

    struct category : public source_tag, closable_tag { };

to:

    struct category
      : input_seekable,
        device_tag,
        closable_tag
    { };

and adding:

    using file_descriptor::seek;

Similarly for file_descriptor_sink.


Change History (6)

comment:1 by Marshall Clow, 15 years ago

Owner: changed from beman_dawes to Beman Dawes
Severity: Showstopper
Status: assignednew

assigning to actual user "bemandawes" instead of unknown user "beman_dawes"

comment:2 by Marshall Clow, 15 years ago

Component: Noneiostreams
Description: modified (diff)

comment:3 by Beman Dawes, 15 years ago

Owner: Beman Dawes removed

comment:4 by Marshall Clow, 15 years ago

Owner: set to Jonathan Turkanis

comment:5 by Jonathan Turkanis, 15 years ago

Type: BugsFeature Requests

comment:6 by Jonathan Turkanis, 15 years ago

Resolution: Nonefixed
Status: newclosed

(In [42268]) fixed #823 and added a test case

Note: See TracTickets for help on using tickets.