Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aleksandr Isakov
wine-fonts
Commits
a43840bc
Commit
a43840bc
authored
Nov 14, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp60: Fixed basic_istream::seekg implementation.
parent
9796cf38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
32 deletions
+4
-32
ios.c
dlls/msvcp60/ios.c
+4
-32
No files found.
dlls/msvcp60/ios.c
View file @
a43840bc
...
...
@@ -7264,14 +7264,7 @@ basic_istream_char* __thiscall basic_istream_char_seekg(basic_istream_char *this
fpos_int
ret
;
basic_streambuf_char_pubseekoff
(
strbuf
,
&
ret
,
off
,
dir
,
OPENMODE_in
);
if
(
ret
.
off
==-
1
&&
ret
.
pos
==
0
&&
ret
.
state
==
0
)
basic_ios_char_setstate
(
base
,
IOSTATE_failbit
);
else
basic_ios_char_clear
(
base
,
IOSTATE_goodbit
);
return
this
;
}
else
basic_ios_char_clear
(
base
,
IOSTATE_goodbit
);
}
return
this
;
}
...
...
@@ -7290,14 +7283,7 @@ basic_istream_char* __thiscall basic_istream_char_seekg_fpos(basic_istream_char
fpos_int
ret
;
basic_streambuf_char_pubseekpos
(
strbuf
,
&
ret
,
pos
,
OPENMODE_in
);
if
(
ret
.
off
==-
1
&&
ret
.
pos
==
0
&&
ret
.
state
==
0
)
basic_ios_char_setstate
(
base
,
IOSTATE_failbit
);
else
basic_ios_char_clear
(
base
,
IOSTATE_goodbit
);
return
this
;
}
else
basic_ios_char_clear
(
base
,
IOSTATE_goodbit
);
}
return
this
;
}
...
...
@@ -8530,14 +8516,7 @@ basic_istream_wchar* __thiscall basic_istream_wchar_seekg(basic_istream_wchar *t
fpos_int
ret
;
basic_streambuf_wchar_pubseekoff
(
strbuf
,
&
ret
,
off
,
dir
,
OPENMODE_in
);
if
(
ret
.
off
==-
1
&&
ret
.
pos
==
0
&&
ret
.
state
==
0
)
basic_ios_wchar_setstate
(
base
,
IOSTATE_failbit
);
else
basic_ios_wchar_clear
(
base
,
IOSTATE_goodbit
);
return
this
;
}
else
basic_ios_wchar_clear
(
base
,
IOSTATE_goodbit
);
}
return
this
;
}
...
...
@@ -8558,14 +8537,7 @@ basic_istream_wchar* __thiscall basic_istream_wchar_seekg_fpos(basic_istream_wch
fpos_int
ret
;
basic_streambuf_wchar_pubseekpos
(
strbuf
,
&
ret
,
pos
,
OPENMODE_in
);
if
(
ret
.
off
==-
1
&&
ret
.
pos
==
0
&&
ret
.
state
==
0
)
basic_ios_wchar_setstate
(
base
,
IOSTATE_failbit
);
else
basic_ios_wchar_clear
(
base
,
IOSTATE_goodbit
);
return
this
;
}
else
basic_ios_wchar_clear
(
base
,
IOSTATE_goodbit
);
}
return
this
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment