Package: transmission-gtk Version: 2.42-1 Hi,
If I run killall transmission-gtk and then restart Transmission, it does not know what was downloaded in the most recent session, so it redownloads it. I believe this occurs because it installs a signal handler for SIGKILL (which cannot be handled) instead of SIGTERM (which can be). The attached patch makes it install a handler for SIGTERM. -- Matt Kraai https://ftbfs.org/kraai
Index: transmission/gtk/main.c =================================================================== --- transmission.orig/gtk/main.c 2011-12-07 20:03:53.000000000 -0800 +++ transmission/gtk/main.c 2011-12-07 20:04:54.000000000 -0800 @@ -485,7 +485,7 @@ struct cbdata * cbdata = user_data; signal( SIGINT, signal_handler ); - signal( SIGKILL, signal_handler ); + signal( SIGTERM, signal_handler ); sighandler_cbdata = cbdata;