| delorie.com/archives/browse.cgi | search |
| 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=P10fE72YHKzvTYUNZizdg+8CBOrNcyHo2mD3WUC8BM8z5WXn/bSeD | |
| uB574yxjhqvMc7EGXgok4PQe5UaNILh6gJffNqNt39dNeZIC6dcnTApHTJ+Ztqk4 | |
| LqMMSaCHNy43oyaQy7M5rSip2YYbxWrhpc0owhWjCDUUhMflQ678R8= | |
| 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=KuapZjEQIu/6079FwdZIy4QySsY=; b=HcnhevzpoqjmuoNCRf1JBCNcFcBP | |
| VL3dSOfQLTz6SCC0Ot+cJp/6nwCc5dCMNxm4J1PDWqLqee/jvLzBgh6eHtArGOVm | |
| JOzBCL3TtDwJuaEQdETs0dpvMXM1gPeX6CJw0UcpGQI4R2XkP2E3mg93h00bW6yJ | |
| ZCeX0r++C7o9QAY= | |
| 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: | Thu, 15 May 2014 09:17:45 +0200 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: screen on 64-bit mangles mintty/buffer |
| Message-ID: | <20140515071745.GI2436@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <5370E144 DOT 4010905 AT shaddybaddah DOT name> <90t1n9l4g51dgrq060rc6ua48eog4178v8 AT 4ax DOT com> <5373AF2E DOT 5090402 AT shaddybaddah DOT name> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <5373AF2E.5090402@shaddybaddah.name> |
| User-Agent: | Mutt/1.5.23 (2014-03-12) |
--9kBr9UDtZsI8nE8z
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Nice detective work, really. The goldstar is well deservered :)
On May 15 04:00, Shaddy Baddah wrote:
> I quickly worked out that the code has a bug for "%i". At some point
> the code was changed to push and pop the parameters being passed (0 and
> 39 in my eg.). However, the "%i" select/case block was incrementing the
> arguments in a no longer used array for parameters:
>=20
>=20
> case 'i':
> if (p_is_s[0] =3D=3D 0)
> param[0]++;
> if (p_is_s[1] =3D=3D 0)
> param[1]++;
> break;
Unfortunately there's no newer upstream release and this bug is present
in the ncurses 5.9 version in Fedora 20 as well. From what I gather from t=
he
surrounding code, I *assume* something like this could fix it
case 'i':
y =3D npop();
x =3D npop();
if (p_is_s[0] =3D=3D 0)
y++;
if (p_is_s[1] =3D=3D 0)
x++;
npush(x);
npush(y);
break;
I'm not sure the relation between x, y, and the p_is_s indices is
correct, though.
Corinna
--=20
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--9kBr9UDtZsI8nE8z
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJTdGoZAAoJEPU2Bp2uRE+gIvMP/3IYyvH5/Mgit0YSIcqHO3FX
NEbsCLS3UjkOKvlXZvG0SnCQei0I46Lz9wj0irqEQ3B4nf7crhlCfGWLcpwkShiW
5Kn2GPtjZBD+8riT+7MmnquxOfJQx+PzLaJyiJ5ybgjVgL0Th9IBFwiHFCfHgRbf
WT593VA+kpeRToJMFfelcymkjC0aCDxtEe500XYNFgVBVO1i4wmZzCQZCMdnH005
c9t6LnUVk5VsdEGx+ApAG8B1nf0zx0x75MdZthx5DPOigGVezbCymOF0qJ61CcFW
7D1XDa3PTebD4rWVUEuDSAiOhuW4ucMSEWPZiJZSCVb/Q45Th3aWNgzN1/wr6ZJz
Iem3mTefjbBejEMYlZxyhgletlxt9EEZOSoPKq6FUuQaS/V/uDi4SH/GtVviNxxz
rIfBYBxGY10/+pIY4114skmXNrI69k9uzVzC79qhKk734DvEYrCnuRgGupqvRAWe
NTcFCXRvyIUpMD8dxuK5lVOMETTK4WCBLDSGuIDIqVEGcbCHSRTLzQsk8Ko2iCH+
laAeKf22Mtufe9Z901a9uuuiNnT0i+SQ0OKxnoopsB4pQJBh3D4l86hQI6iVZfm0
HJ1XZp8Zkp1KlpJ+kZXB46EgNZwD30g5luwie/Y9xDhO1GExVGgakpFkRxK1oJdv
cCpeVgvCd8/6wVW1o2/8
=P22Z
-----END PGP SIGNATURE-----
--9kBr9UDtZsI8nE8z--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |