delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2011/09/16/09:48:04

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=mime-version:date:message-id:subject:from:to:content-type;
bh=tfCH8e3dfp8KUg3iwFbltVoJwBG/dVHt2omswOVOzPQ=;
b=idUhbHkHjzAi/8x/j2O5MqxCBbrhbJLxjSteWssfVux68NrWbBNcdnSmg85qos6sdL
Q40LAdq5TZPz6wrGmhJ+7f03Nm89yg69jjkV05jPhtBCiYXhexX3jSmwhxSrNOntVkca
i6SrESGd1q3H2TuAKYIBtn/q7uZERiMC7uJI4=
MIME-Version: 1.0
Date: Fri, 16 Sep 2011 16:47:51 +0300
Message-ID: <CAA2C=vBM39vo+zenyedxtbLwcTZSfuXoTAsJKKfG3P9o-=X_hQ@mail.gmail.com>
Subject: debug/fsdb/unassmbl.c:ohex()
From: Ozkan Sezer <sezeroz AT gmail DOT com>
To: djgpp-workers AT delorie DOT com
Reply-To: djgpp-workers AT delorie DOT com

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.

- Raw text -


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