www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/01/18/22:59:49

From: Tan Pong Heng <tponghen AT Trantor DOT DSO DOT gov DOT SG>
Subject: Coding Error in GO32?
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Tue, 19 Jan 93 11:42:00 WST

While exploring with AKCL on DJGPP, I came across a code segment in
the file 'exphdlr.c' around line 165 in GO32 which read:

if ((i >= hard_slave_lo && i <= hard_slave_hi
	&& i != hard_slave_hi + 5)
.....

The logic does not look right at all, since the last condition is automatically
satisfied given the first two. Is this a typo or some left over codes from
previous modifications?

BTY, I was looking around in the GO32 codes because the AKCL port that I
got off math.utexas.edu did not work - it can't spawn any commands without
corrupting it's own memory.  Since the GO32 that came with this port
is a modified version, I was trying to see what cause this by comparing the
sources for both version of the GO32.  The above code segments are common
to both versions.  I am quite sure that the problem is cause by the improper
swap handling that was report earlier in this group.

- Raw text -


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