X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <000901c1d705$54851260$7864bcd4@rcomputer> From: "MaxEd" To: Subject: Probably a bug? Date: Fri, 29 Mar 2002 12:37:22 +0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01C1D71E.78F81700" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_0006_01C1D71E.78F81700 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Sometimes variables get corrupted. For example: ... Map[Players[i].x][Players[i].y]].Objects[5].tile=3D0; Ocassionaly, "Map[3][2].tex" variable becomes some value as = "Map[Players[i].x][Players[i].y]].Objects[5].tile" Another example is: if (strcmp(strcpy(array[i].name,"someting"),"andsomething")... and next strcpy brings us a corrupted variable: ... strcpy(t1,"sometext"); t1 becomes "omething" (without "s") I met this problem several other times and it's not in bug list. = Probably this is not a bug at all, but then I should be doing something wrong. I wish I know what. ------=_NextPart_000_0006_01C1D71E.78F81700 Content-Type: text/html; charset="koi8-r" Content-Transfer-Encoding: quoted-printable
Sometimes variables get = corrupted. For=20 example:
...
Map[Players[i].x][Players[i].y]].Objects[5].tile=3D0;
 
Ocassionaly, "Map[3][2].tex" = variable becomes=20 some value as "Map[Players[i].x][Players[i].y]].Objects[5].tile"<= /DIV>
 
Another example is:
 
if=20 (strcmp(strcpy(array[i].name,"someting"),"andsomething")...
 
and next strcpy brings us a = corrupted=20 variable:
 
...
strcpy(t1,"sometext");
 
t1 becomes "omething" (without=20 "s")
 
I met this problem several other = times and=20 it's not in bug list. Probably this is not a bug at all, but then I = should=20 be
doing something wrong. I wish I = know=20 what.
 
------=_NextPart_000_0006_01C1D71E.78F81700--