r6736 - /man-cgi/man.cgi
Author: jfs
Date: Fri Jun 12 11:56:29 2009
New Revision: 6736
URL: http://svn.debian.org/wsvn/?sc=1&rev=6736
Log:
Return inmediately if the file does not exist
Modified:
man-cgi/man.cgi
Modified: man-cgi/man.cgi
URL: http://svn.debian.org/wsvn/man-cgi/man.cgi?rev=6736&op=diff
==============================================================================
--- man-cgi/man.cgi (original)
+++ man-cgi/man.cgi Fri Jun 12 11:56:29 2009
@@ -978,6 +978,7 @@
sub is_out_of_date {
my $ret = 0;
my $file = $manLocalDir."/timestamp";
+ return 1 if ! -e $file;
my $mtime = ctime(stat($file)->mtime);
# my $current_time = time();
# $diff = $current_time - $mtime;
Reply to: