From: adsgohere AT durchnull DOT de (Rudolf Polzer) Newsgroups: comp.os.msdos.djgpp Subject: Re: Peculiar behavior of program. References: <3b351a50 DOT 104687584 AT news DOT primus DOT ca> X-DAUs: lesen Headers, ohne zu wissen, was das ist X-Homepage: http://www.durchnull.de User-Agent: slrn/0.9.6.3 (Linux) Date: Sun, 24 Jun 2001 09:33:15 +0200 Message-ID: Lines: 19 NNTP-Posting-Host: 213.7.23.124 X-Trace: 993373664 news.freenet.de 29844 213.7.23.124 X-Complaints-To: abuse AT freenet DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Graaagh the Mighty wrote: > On Thu, 21 Jun 2001 13:16:18 +0300 (IDT), Eli Zaretskii > sat on a tribble, which squeaked: > > >No, I blame it on you: it's your bug that caused a GPF inside CWSDPMI. > > There are clearly two bugs here: > 1. My code crashed. Ergo, it has a bug. > 2. CWSDPMI code crashed. Ergo, it has a bug. Not really. You have access to ring 0 and can change any memory location you want without error, if you know how to do this. So a crash in CWSDPMI does not necessarily reveal a CWSDPMI bug. -- #!/usr/bin/perl -W -- WARNING: This will print 22,307 bytes! use strict;for(my$y=-1;$y<1;$y+=.1){for(my$x=-1.9;$x<.4;$x+=.03){print'+'; my$X=my$Y=0;for(0..99){($X,$Y)=($X*$X-$Y*$Y+$x,2*$X*$Y+$y);print"\b "if$X* $X+$Y*$Y>9;}}print"\n"};print''.reverse"\nHPAJ \a!rezloP .R yb torblednaM"