Hi list, Now that VDR 1.5.1 was published, I've also published the final 1.0 version of the shutdown rewrite. The changes since 0.4 are mainly by Klaus. http://www.udo-richter.de/vdr/patches.html#shutdown http://www.udo-richter.de/vdr/patches.en.html#shutdown The patch is identical to the changes of VDR 1.5.1, except that no functions were dropped, for compatibility. Also, the detection define is present, and should be used like this: #if VDRVERSNUM >= 10501 || (defined(PATCH_SHUTDOWN_REWRITE) && PATCH_SHUTDOWN_REWRITE >= 100) ... #else ... #endif Changes: - Identifiers changed: cShutdown -> cShutdownHandler Shutdown -> ShutdownHandler - cRemote::LastActivity() now returns an absolute time, not a relative! - Dropped cThread::EmergencyExit (still present in this patch for compatibility) - Rearranged signal handling, report all signals instantly to syslog - ISREALKEY macro to check whether a key is user-generated - Some new timeout constants in vdr.c - Updated man page regarding SIGHUP - Coding style rewrite by Klaus, slight changes in documentation, comments and i18n strings Cheers, Udo