Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!think.com!samsung!dali.cs.montana.edu!milton!yoda.eecs.wsu.edu!pcooper From: pcooper@eecs.wsu.edu (Phil Cooper - CS495) Newsgroups: comp.sys.amiga.tech Subject: Re: Help --> How to prevent the visit from the dreaded guru Message-ID: <1991Jan06.231409.22606@eecs.wsu.edu> Date: 6 Jan 91 23:14:09 GMT References: <611@caslon.cs.arizona.edu> <1991Jan4.203339.8800@maytag.waterloo.edu> <7463@sugar.hackercorp.com> Reply-To: pcooper@yoda.UUCP (Phil Cooper - CS495) Organization: Washington State University, Pullman Lines: 27 In article <7463@sugar.hackercorp.com> peter@sugar.hackercorp.com (Peter da Silva) writes: >In article jph@ais.org (Joseph Hillenburg) writes: >> Does anyone know how to FORCE a guru through C? > > char *p; > > for(p = 0; p != (char *)-1; p++) > *p = 0; > >This will certainly clobber the machine. Play with variations until you get >the results you want. (sigh) >-- >Peter da Silva. `-_-' >. OR, how 'bout a nice little divide by zero exception? int result, divisor = 0 ; result = 10/divisor ; That should really throw it for a loop. PC