regedit: stdin is not seekable so do not try to seek the input file if it is not seekable
Alexandre Julliard
julliard at winehq.org
Fri Mar 14 07:05:45 CDT 2008
Aric Stewart <aric at codeweavers.com> writes:
> ---
> programs/regedit/regedit.c | 2 +-
> programs/regedit/regproc.c | 19 +++++++++++--------
> programs/regedit/regproc.h | 2 +-
> 3 files changed, 13 insertions(+), 10 deletions(-)
We shouldn't need to seek at all, instead it should be easy to test the
first two bytes of the first line before processing it.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list