From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Algorithm for integer timing loop Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <200005171740 DOT MAA15445 AT darwin DOT sfbr DOT org> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 35 X-Trace: /bNDCz2E5Wu/73VcpkYc1e5yFdxXk328Rbl/bxO//OPTO56BEp+GMtNkW5vyJf1SPBm+Bxaoe7J2!9BiB2gRlzahpi+C63qGLaZdlKa8yYQOu1/0wTkdlVY/bImyirY5SsQmxxl9cDGR6AkC6Qmmj2+Nx!d67LEeA= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Sat, 20 May 2000 18:28:20 GMT Distribution: world Date: Sat, 20 May 2000 18:28:20 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Wed, 17 May 2000 12:41:05 -0500 (CDT), Jeff Williams wrote: >I have a numerical program that compiles cleanly (DOS 5.0, >djgpp 2.03, gcc 2.7.2.1, bash 2.03) gcc 2.7.2.1 has been superseded by gcc 2.95.2: http://www.delorie.com/djgpp/zip-picker.html > produces the desired results, but displays the >following behavior I've not encountered before: > > - first invocation of program runs completely and correctly. > > - invoke program again, but interrupt it before it completes, > using Ctrl-C or Ctrl-Break. > > - invoke program again and I get no response, no output, > nothing. Must ^C or ^break to regain prompt. Same for any > further invocations. > > - HOWEVER, if I execute a simple `ls' after interrupting the > program, the next invocation *will* run properly. > >Do these symptoms sound familiar to anyone? Are there any uninitialized variables lurking? -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/