Author: dom
Date: 2008-05-26 15:14:15 +0100 (Mon, 26 May 2008)
New Revision: 1162
Modified:
trunk/Changes
trunk/examples/reindex.pl
trunk/newpage.cgi
trunk/preferences.cgi
trunk/search.cgi
trunk/wiki.cgi
Log:
Install signal handlers in reindex.pl and CGI scripts to allow
temporary files (eg from Plucene) to be cleaned up. (fixes #247)
Modified: trunk/Changes
===================================================================
--- trunk/Changes 2008-05-11 17:53:50 UTC (rev 1161)
+++ trunk/Changes 2008-05-26 14:14:15 UTC (rev 1162)
@@ -12,6 +12,8 @@
Don't include redirect pages in search results. (#24)
Include map link URLs in RDF output. (#26)
Hide historic versions of nodes from search engines. (#207)
+ Install signal handlers in reindex.pl and CGI scripts to allow
+ temporary files (eg from Plucene) to be cleaned up. (#247)
0.61 4 July 2007
Added experimental support for local spam detection modules; see the
Modified: trunk/examples/reindex.pl
===================================================================
--- trunk/examples/reindex.pl 2008-05-11 17:53:50 UTC (rev 1161)
+++ trunk/examples/reindex.pl 2008-05-26 14:14:15 UTC (rev 1162)
@@ -2,6 +2,7 @@
use strict;
use warnings;
+use sigtrap die => 'normal-signals';
use OpenGuides::Config;
use OpenGuides::Utils;
Modified: trunk/newpage.cgi
===================================================================
--- trunk/newpage.cgi 2008-05-11 17:53:50 UTC (rev 1161)
+++ trunk/newpage.cgi 2008-05-26 14:14:15 UTC (rev 1162)
@@ -2,6 +2,7 @@
use warnings;
use strict;
+use sigtrap die => 'normal-signals';
use CGI;
use OpenGuides::Config;
Modified: trunk/preferences.cgi
===================================================================
--- trunk/preferences.cgi 2008-05-11 17:53:50 UTC (rev 1161)
+++ trunk/preferences.cgi 2008-05-26 14:14:15 UTC (rev 1162)
@@ -2,6 +2,7 @@
use warnings;
use strict;
+use sigtrap die => 'normal-signals';
use CGI;
use OpenGuides::Config;
Modified: trunk/search.cgi
===================================================================
--- trunk/search.cgi 2008-05-11 17:53:50 UTC (rev 1161)
+++ trunk/search.cgi 2008-05-26 14:14:15 UTC (rev 1162)
@@ -2,6 +2,7 @@
use warnings;
use strict;
+use sigtrap die => 'normal-signals';
use CGI;
use OpenGuides::Config;
Modified: trunk/wiki.cgi
===================================================================
--- trunk/wiki.cgi 2008-05-11 17:53:50 UTC (rev 1161)
+++ trunk/wiki.cgi 2008-05-26 14:14:15 UTC (rev 1162)
@@ -2,6 +2,7 @@
use strict;
use warnings;
+use sigtrap die => 'normal-signals';
use vars qw( $VERSION );
$VERSION = '0.61';