Sorry, the correct patch is below :

******************************************************************************
--- worker.c.org        2007-12-03 23:06:05.000000000 +0100
+++ worker.c    2009-06-10 14:32:05.000000000 +0200
@@ -328,6 +328,7 @@
        int dim_pfd = 0;
        bool rebuild_set = true;
        int pcnt = 0; /* error count for poll() failures */
+       time_t lastcheck;

        Tskmgr.tm_tid = sthread_get_id();
        if (pthread_detach(Tskmgr.tm_tid) != 0)
@@ -345,12 +346,12 @@
        }
        dim_pfd = PFD_STEP;

+       lastcheck = time(NULL);
        for (;;)
        {
                SMFICTX_PTR ctx;
                int nfd, rfd, i;
                time_t now;
-               time_t lastcheck;

                POOL_LEV_DPRINTF(4, ("Let's %s again...", WAITFN));
*********************************************************************

--
 ---------------------------------------------------------------
 Jose Marcio MARTINS DA CRUZ           http://j-chkmail.ensmp.fr
 Ecole des Mines de Paris
 60, bd Saint Michel                      75272 - PARIS CEDEX 06
 mailto:jose-marcio.mart...@mines-paristech.fr



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to