From: <al...@li...> - 2006-07-19 18:18:58
|
Thank you Paul, i will add 1.1.13beta Best Regards M.Ali VARDAR On Wed, 19 Jul 2006 13:01:43 -0400 Paul Albrecht <alb...@rd...> wrote: > Hi, > > I found a bug in qvwm-1.1.12. If I set the ScreenSaverDelay to sixty > minutes qvwm hangs. I think the problem's in the timer handling. > Here's a fix: > > --- timer.h.pristine 2006-07-18 14:32:26.000000000 -0500 > +++ timer.h 2006-07-19 08:39:40.000000000 -0500 > @@ -42,10 +42,10 @@ > > gettimeofday(&now, NULL); > > - timeo.tv_sec = now.tv_sec; > - timeo.tv_usec = now.tv_usec + msec * 1000; > + timeo.tv_sec = now.tv_sec + msec / 1000; > + timeo.tv_usec = now.tv_usec + msec % 1000 * 1000; > if (timeo.tv_usec > 1000 * 1000) { > - timeo.tv_sec += timeo.tv_usec / (1000 * 1000); > + timeo.tv_sec += 1; > timeo.tv_usec %= 1000 * 1000; > } > } > > Paul Albrecht > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your opinions on IT & business topics through brief surveys -- > and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ qvwm-devel mailing > list qvw...@li... > https://lists.sourceforge.net/lists/listinfo/qvwm-devel > |