bagder: curl-www/auto summarize.pl,1.37,1.38
| Newsgroups | gmane.comp.web.curl.www.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/curl/curl-www/auto
In directory labb:/tmp/cvs-serv7635
Modified Files:
summarize.pl
Log Message:
hide date errors
Index: summarize.pl
===================================================================
RCS file: /cvsroot/curl/curl-www/auto/summarize.pl,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- summarize.pl 21 Mar 2005 07:51:22 -0000 1.37
+++ summarize.pl 31 Mar 2005 14:17:32 -0000 1.38
@@ -230,7 +230,7 @@
# prefer the date from the actual log file, it might have been from
# another day
- $logdate=`date --utc --date "$date" "+%Y-%m-%d"`;
+ $logdate=`date --utc --date "$date" "+%Y-%m-%d" 2>/dev/null`;
if($logdate =~ /^(\d\d\d\d)-(\d\d)-(\d\d)/) {
($lyear, $lmonth, $lday) = ($1, $2, $3);
}
_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-www-commits