[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: files in international/l10n take too long to process



On Thu, Jul 27, 2000 at 01:37:25AM +0200, Denis Barbier wrote:
> This is indeed what i realized, version shipped with Potato has a bad
> designed pass5, which has been fixed lately because this slow processing
> only occurs with large files.

NB take a look at http://lully.debian.org/~joy/webwml/build-log for a
listing of website building errors with wml 2.x... scary.

Only change I had to do initially (hi, Anthony :) is:

--- ctime.wml   2000/05/26 08:27:05     1.48
+++ ctime.wml   2000/07/26 23:47:55
@@ -108,17 +108,17 @@

 sub ctime {
        my ($time, $sec, $min, $hour, $mday, $monnr, $year, $wday, $yday, $isdst-       # The last modification time of inputfile in ISO dd-mm-yyyy hh:mm:ss for+       # The last modification time of inputfile in ISO yyyy-mm-dd hh:mm:ss for        if (defined $(GEN_TIME)) {
-               $WML_GEN_ISOTIME =~ /(..)-(..)-(\d+) (..):(..):(..)/;
-               $time = timelocal($6, $5, $4, $1, $2-1, $3);
+               $WML_GEN_ISOTIME =~ /(\d+)-(..)-(..) (..):(..):(..)/;
+               $time = timelocal($6, $5, $4, $3, $2-1, $1);
                # $lday=$1; $lmon=$2; $lyear=$3; $lhr=$4; $lmin=$5; $lsec=$6;
                # if ($lyear > 19000) { $lyear = 1900+($lyear-19000); }
                # $time = timelocal($lsec, $lmin, $lhr, $lday, $lmon-1, $lyear);        }
        else {
-               $WML_SRC_ISOTIME =~ /(..)-(..)-(\d+) (..):(..):(..)/;
-               $time = timelocal($6, $5, $4, $1, $2-1, $3);
+               $WML_SRC_ISOTIME =~ /(\d+)-(..)-(..) (..):(..):(..)/;
+               $time = timelocal($6, $5, $4, $3, $2-1, $1);
                # $lday=$1; $lmon=$2; $lyear=$3; $lhr=$4; $lmin=$5; $lsec=$6;
                # if ($lyear > 19000) { $lyear = 1900+($lyear-19000); }
                # $time = timelocal($lsec, $lmin, $lhr, $lday, $lmon-1, $lyear);

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: