[Poppler-bugs] [Bug 62735] Should not try to fopen a file we already have open
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Mar 25 14:19:56 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=62735
--- Comment #4 from Adam Reichold <adamreichold at myopera.com> ---
(In reply to comment #2)
> Note, Windows doesn't have pread, so someone that cares about windows
> probably needs to write a windows version (or we can keep the old code
> around for windows, it should work since afaik you can't delete files in use
> in windows)
I see. It may be worth it to replace the call to "pread" using Windows'
ReadFile with "overlapped I/O" since it would allow us to remove the
UniqueFileStream class. But we would have to carry around an OVERLAPPED
structure and use CreateFile to open the file, so it is probably easier to keep
both ways of doing things and just #ifdef accordingly...
In any case, I have to admit that I do not have a Windows machine around to
test any of this...
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130325/b578edf7/attachment.html>
More information about the Poppler-bugs
mailing list