File cscope-cleanup_on_sigterm.patch of Package cscope

Index: src/main.c
===================================================================
--- src/main.c.orig
+++ src/main.c
@@ -375,6 +375,8 @@ cscope: Could not create private temp di
     }
     /* cleanup on the hangup signal */
     signal(SIGHUP, myexit);
+    /* and on termination signal */
+    signal(SIGTERM, myexit);
 
     /* ditto the TERM signal */
     signal(SIGTERM, myexit);