Cygwin !!! I don't know much about Cygwin but the original posting says "causes Windows200/XP to reboot"
The posting to the usenet news group had an incorrect #include. Correct this and this little beauty has rebooted every Window$ 2000 PC and locked every NT box we have tried it on ! It must be created as a DOS app. if you do it from Dev Studio. We have compiled it with Dev Studio and gcc for Window$, we haven't tried the Borland compiler. We have speculated on what is doing this, it looks like the DOS windows are broken on 2000 and slightly dubious on NT. Either that or gcc has become a clone of the M$ compiler !! Could it be that it counts the \t's and the doesn't take into account what the \b's are supposed to do leading to buffer overrun (or underrun if vice-versa). Any way it is typical M$ wonder coding and we haven't found a single terminal window under Linux which doesn't behave correctly. What makes todays DOJ announcements even sadder is the fact that even if M$ ends up running every device that requires an OS, controls the net, e-commerce and every other transaction that takes place electronically and Linux and all other OS's disappear some of us will still know just how crap and bloated M$ code really is, but because no one will listen it will just nor away at us like an incurable itch !!! ;-) Owen On Friday 02 Nov 2001 3:32 pm, you wrote: > Well.. I tried this on a 2000 machine with cygwin and gcc and changed > the include line to #include <stdio.h>, but it didn't do anything > special... > > Exactly what compiler and what circumstances? > > On Thu, 2001-11-01 at 12:16, Claudio wrote: > > I know it's not a Cooker-subject, but it's too comic and I want you to > > smile with me ;o))) > > Have a nice weekend! > > > > Claudio > > > > > > -------- Original Message -------- > > Date: Mon, 29 Oct 2001 17:19:47 +0200 > > From: Teodor Cimpoesu > > To: [EMAIL PROTECTED] > > Subject: weird Windows 2000/XP bug > > > > Some guys arround here are having fun with a little C program which > > causes Windows200/XP to reboot: > > > > #include > > > > int main(void) > > { > > while (1) > > printf("\t\t\b\b\b\b\b\b"); > > return 0; > > } > > > > I don't know exactly where it was first seen, and who discovered it; just > > thought to forward it here maybe others have insights. > > > > comments?