msvcp90: Fix stringbuf and strstreambuf seekpos implementation.

This commit is contained in:
Piotr Caban 2015-07-31 18:36:05 +02:00 committed by Alexandre Julliard
parent cccbb4ebe8
commit b3fe96a0a9
2 changed files with 6 additions and 6 deletions

View File

@ -4214,7 +4214,7 @@ fpos_int* __thiscall basic_stringbuf_char_seekpos(basic_stringbuf_char *this,
return ret; return ret;
} }
return basic_stringbuf_char_seekoff(this, ret, pos.off, SEEKDIR_beg, mode); return basic_stringbuf_char_seekoff(this, ret, pos.pos+pos.off, SEEKDIR_beg, mode);
} }
/* ?str@?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z */ /* ?str@?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z */
@ -4635,7 +4635,7 @@ fpos_int* __thiscall basic_stringbuf_wchar_seekpos(basic_stringbuf_wchar *this,
return ret; return ret;
} }
return basic_stringbuf_wchar_seekoff(this, ret, pos.off, SEEKDIR_beg, mode); return basic_stringbuf_wchar_seekoff(this, ret, pos.pos+pos.off, SEEKDIR_beg, mode);
} }
/* ?str@?$basic_stringbuf@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEXABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@2@@Z */ /* ?str@?$basic_stringbuf@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEXABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@2@@Z */
@ -13382,7 +13382,7 @@ fpos_int* __thiscall strstreambuf_seekpos(strstreambuf *this, fpos_int *ret, fpo
return ret; return ret;
} }
return strstreambuf_seekoff(this, ret, pos.off, SEEKDIR_beg, mode); return strstreambuf_seekoff(this, ret, pos.pos+pos.off, SEEKDIR_beg, mode);
} }
/* ?underflow@strstreambuf@std@@MAEHXZ */ /* ?underflow@strstreambuf@std@@MAEHXZ */

View File

@ -4350,7 +4350,7 @@ fpos_int* __thiscall basic_stringbuf_char_seekpos(basic_stringbuf_char *this,
return ret; return ret;
} }
return basic_stringbuf_char_seekoff(this, ret, pos.off, SEEKDIR_beg, mode); return basic_stringbuf_char_seekoff(this, ret, pos.pos+pos.off, SEEKDIR_beg, mode);
} }
/* ?str@?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z */ /* ?str@?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@@Z */
@ -4771,7 +4771,7 @@ fpos_int* __thiscall basic_stringbuf_wchar_seekpos(basic_stringbuf_wchar *this,
return ret; return ret;
} }
return basic_stringbuf_wchar_seekoff(this, ret, pos.off, SEEKDIR_beg, mode); return basic_stringbuf_wchar_seekoff(this, ret, pos.pos+pos.off, SEEKDIR_beg, mode);
} }
/* ?str@?$basic_stringbuf@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEXABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@2@@Z */ /* ?str@?$basic_stringbuf@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@QAEXABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@2@@Z */
@ -13954,7 +13954,7 @@ fpos_int* __thiscall strstreambuf_seekpos(strstreambuf *this, fpos_int *ret, fpo
return ret; return ret;
} }
return strstreambuf_seekoff(this, ret, pos.off, SEEKDIR_beg, mode); return strstreambuf_seekoff(this, ret, pos.pos+pos.off, SEEKDIR_beg, mode);
} }
/* ?underflow@strstreambuf@std@@MAEHXZ */ /* ?underflow@strstreambuf@std@@MAEHXZ */