Ah, OK. Thanks.
September 4, 2020 11:55 AM, "Gijs Vermeulen" <gijsvrm@gmail.com (mailto:gijsvrm@gmail.com?to=%22Gijs%20Vermeulen%22%20gijsvrm@gmail.com)> wrote: Hi Chip,See https://www.winehq.org/pipermail/wine-devel/2020-September/172895.html (https://www.winehq.org/pipermail/wine-devel/2020-September/172895.html)Kind regards,Gijs On Fri, Sep 4, 2020, 16:44 Chip Davis <cdavis@codeweavers.com (mailto:cdavis@codeweavers.com)> wrote: September 4, 2020 4:44 AM, "Arkadiusz Hiler" <ahiler@codeweavers.com (mailto:ahiler@codeweavers.com)> wrote:
diff --git a/dlls/msvcirt/msvcirt.c b/dlls/msvcirt/msvcirt.c index 7e1d9977b78..959322bdc86 100644 --- a/dlls/msvcirt/msvcirt.c +++ b/dlls/msvcirt/msvcirt.c @@ -3012,11 +3012,15 @@ ostream* __thiscall ostrstream_buffer_ctor(ostream *this, char *buffer, int leng
TRACE("(%p %p %d %d %d)n", this, buffer, length, mode, virt_init);
- if (ssb) {
- strstreambuf_buffer_ctor(ssb, buffer, length, buffer);
- if (mode & (OPENMODE_app|OPENMODE_ate))
- ssb->base.pptr = buffer + strlen(buffer);
- if (!ssb) {
- FIXME("out of memoryn");
Shouldn't this be an ERR? It doesn't seem like this is the kind of problem we can fix. Ditto, the other instances of this you added. Chip Chip