diff -Naur -x '*~' dspam-3.10.1/webui/cgi-bin/admin.cgi dspam-3.10.1-fix-cgi/webui/cgi-bin/admin.cgi --- dspam-3.10.1/webui/cgi-bin/admin.cgi 2011-07-30 21:54:31.000000000 +0200 +++ dspam-3.10.1-fix-cgi/webui/cgi-bin/admin.cgi 2013-05-08 00:51:48.559459796 +0200 @@ -20,7 +20,6 @@ use strict; use Time::Local; use vars qw { %CONFIG %DATA %FORM %LANG $LANGUAGE }; -require "ctime.pl"; # # Read configuration parameters common to all CGI scripts diff -Naur -x '*~' dspam-3.10.1/webui/cgi-bin/dspam.cgi dspam-3.10.1-fix-cgi/webui/cgi-bin/dspam.cgi --- dspam-3.10.1/webui/cgi-bin/dspam.cgi 2011-07-30 21:54:31.000000000 +0200 +++ dspam-3.10.1-fix-cgi/webui/cgi-bin/dspam.cgi 2013-05-08 01:26:18.368625483 +0200 @@ -18,12 +18,11 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. use strict; +use POSIX qw(ctime strftime); use Time::Local; use vars qw { %CONFIG %DATA %FORM %LANG $MAILBOX $CURRENT_USER $USER $TMPFILE $USERSELECT }; use vars qw { $CURRENT_STORE $LANGUAGE }; -require "ctime.pl"; - # # Read configuration parameters common to all CGI scripts # @@ -36,9 +35,6 @@ } require "configure.pl"; -if($CONFIG{"DATE_FORMAT"}) { - use POSIX qw(strftime); -} # # The current CGI script