Opened 16 years ago

Last modified 15 years ago

#823 closed Feature Requests (fixed)

Seekable file_descriptor_source /sink? — at Version 2

Reported by: gmsb Owned by: Beman Dawes
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 (2)

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)
Note: See TracTickets for help on using tickets.