diff -urNad vdr-plugin-epgsearch-0.9.8c~/menu_whatson.c vdr-plugin-epgsearch-0.9.8c/menu_whatson.c --- vdr-plugin-epgsearch-0.9.8c~/menu_whatson.c 2005-12-05 23:47:10.091896868 +0000 +++ vdr-plugin-epgsearch-0.9.8c/menu_whatson.c 2005-12-05 23:47:10.227887388 +0000 @@ -310,7 +310,8 @@ char *buffer=NULL; // allows setting the channel for a timer without event int starthh,startmm,stophh,stopmm; //for getting the day of month - struct tm *tm_t=localtime(&now); + struct tm tm_r; + struct tm *tm_t=localtime_r(&now, &tm_r); //we have to get away the ':' from the time string sscanf(TIMESTRING(now),"%2d:%2d",&starthh,&startmm); sscanf(TIMESTRING(now+Setup.InstantRecordTime*60),"%2d:%2d",&stophh,&stopmm);