diff -urNad vdr-plugin-epgsearch-0.9.11a~/menu_whatson.c vdr-plugin-epgsearch-0.9.11a/menu_whatson.c --- vdr-plugin-epgsearch-0.9.11a~/menu_whatson.c 2006-02-08 19:44:30.000000000 +0000 +++ vdr-plugin-epgsearch-0.9.11a/menu_whatson.c 2006-02-08 19:44:31.396890204 +0000 @@ -307,7 +307,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_t_store; + struct tm *tm_t = localtime_r(&now, &tm_t_store); //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);