LCDproc development and user support list

Text archives Help


[Lcdproc] [PATCH] Fix infinite loop when the continuity of gettimeofday() is broken


Chronological Thread 
  • From: marc_bevand at rapid7.com (Marc Bevand)
  • Subject: [Lcdproc] [PATCH] Fix infinite loop when the continuity of gettimeofday() is broken
  • Date: Thu, 14 May 2009 11:23:22 -0700

When changing the time backward on a machine running LCDd, I have noticed
that it causes the daemon to enter an (practically) infinite loop doing
nothing but calling gettimeofday(). I fixed it in the attached patch, it
applies cleanly to LCDproc 0.5.2.



-marc
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.omnipotent.net/pipermail/lcdproc/attachments/20090514/bbd1af92/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lcdproc-infinite-loop-when-time-discontinuity.patch
Type: application/octet-stream
Size: 469 bytes
Desc: not available
URL:
<http://lists.omnipotent.net/pipermail/lcdproc/attachments/20090514/bbd1af92/attachment.obj>




Archive powered by MHonArc 2.6.18.

Top of page