delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-workers-bounces using -f |
X-Recipient: | djgpp-workers AT delorie DOT com |
X-Authenticated: | #27081556 |
X-Provags-ID: | V01U2FsdGVkX1+v+j1laIOvVgLuKl2Bta82l2zv51iWRsTo6zj+r3 |
Z9Itakxh2uDfUs | |
From: | Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de> |
To: | djgpp-workers AT delorie DOT com |
Subject: | Re: debug/fsdb/unassmbl.c:ohex() |
Date: | Thu, 22 Dec 2011 19:46:44 +0100 |
User-Agent: | KMail/1.9.10 |
References: | <CAA2C=vBM39vo+zenyedxtbLwcTZSfuXoTAsJKKfG3P9o-=X_hQ AT mail DOT gmail DOT com> |
In-Reply-To: | <CAA2C=vBM39vo+zenyedxtbLwcTZSfuXoTAsJKKfG3P9o-=X_hQ@mail.gmail.com> |
MIME-Version: | 1.0 |
Message-Id: | <201112221946.44737.juan.guerrero@gmx.de> |
X-Y-GMX-Trusted: | 0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Am Freitag, 16. September 2011 schrieb Ozkan Sezer: > Hi: > > Every occurance of local variable buf is replaced by buf1 > in ohex(), apparently to avoid shadowing the global buf[], > however a rhs one at line 450 is not: > > for (; i<extend; i++) > buf1[i] = (buf[i-1] & 0x80) ? 0xff : 0; > > is this intentional? > > -- > O.S. > You are right. The rhs must be buf1. I have fixed it. Regards, Juan M. Guerrero
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |