delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/03/25/12:21:18

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=SPYlO4G9nNY8Ot6EkNAlb/iD4nyovwhV90WYDKEoyVLKczz5B/FJU
kYGqHOLeKiDsIq4P8ac/425wqNLiCqu1j5KeXMtVWYlxanODFdSklW70H8lXSmHo
wHmnGtOzMLFonms0hUA/f4cMiU2tnBtHAi371HS8CZ7YXynjZ2L3UA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=kD+SMGzrPoEEpG4D+J5ojHRLLqU=; b=kk0quZl18s8XQ+KHFOBmAn5NBizh
GgaZ5ko5lmMbolVnCW23FzyM0D6ZzE++Jln1dt1mu0gxWRMDSSLmR7Ke6KKwNXjO
iEFPC7BULV9jEI6sMdgPqKTaTIG4VmaePG0jFbS2rrzjGdlmxT3g1uQO4h4H5P3O
gVydJAGl+NzHPzk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 25 Mar 2014 17:20:38 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem with open_memstream
Message-ID: <20140325162038.GM27624@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAO+Ld4uHJ6onJifw_TRrmwoFkq+0ZSjgEVEhq61XCDShCPM1Dw AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAO+Ld4uHJ6onJifw_TRrmwoFkq+0ZSjgEVEhq61XCDShCPM1Dw@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

--xB0nW4MQa6jZONgY
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mar 25 10:19, Adam Burry wrote:
> I have encountered unexpected behaviour with open_memstream(). Below
> is a test case that shows the problem. Shouldn't each invocation of
> open_memstream() create a a stream in the same initial state?
> Shouldn't 'B' be written to the beginning of the buffer?

Pleae give one of the latest snapshots from http://cygwin.com/snapshots/
a try.  There's a bugfix in there which fixes the usage of an
uninitialized variable in open_memstream.  That should fix your problem.


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--xB0nW4MQa6jZONgY
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTMazWAAoJEPU2Bp2uRE+g7wUP/iWI+oWUoGwoj9enYtJKppZx
ze6o/kVA4uJEsKjEpbQOoH6p0l0OWcyXGPUmgV4MWGJfBk+M9Ib+ShUDPQ7Z7Unn
T31hxXIoDo/5OCGSUMTAm2yqW3FYuzfqCt2SAxhubQ6R5mnFm88Ud+iayfmTCsJR
PxqvkBft14784TgBx4HNrYQUoJtG6sAj6CSnkKhX0XStjWREyc3Aod1oSBLJfS4j
RzvxNmSOSzIcoQyrd1EZXAw/sTdjHJ4lgZUt43zP46doEW7kcdK1Huw/nkxXY/R2
X1IMRxsbDXkroOvAyZZiGXiCM5DZKyYKiJUfpBn1WvtXIddnOn2upwAnOXnmGQg9
ab4sZ5+Zu2XT6X8TGRzUrevJ0BRvckmggGf8on/CnB43rvlVQtidhjFUdUhbbYr2
vsdpzzr2m1KjkUhJzVeYvumQjIvus/QTr2vUBUUl+PRUz2GwS36mEsDWLEQtUUkR
DMdN7X1WfUZrXgGAYoxdtch7MSoaC7Zg7LG8Ws7+5LrheMU1gi6rBjBVdZCb/Tc0
LYVqOTcpOR3wF7r85on39hUj8Low26aMfRwC7uYljCHu3h9p3hf9AMjcUKlu1vqh
cwqfAbZvNN+7OVAo3GK7quvIuqZk0GaGeX/3AXDXSJKv/K0+sb9yB5myvMGJVQI8
ek/YpLD/eP2GPKrONxAg
=qaJ4
-----END PGP SIGNATURE-----

--xB0nW4MQa6jZONgY--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019