Doug MacEachern wrote:
> On Sat, 2 Mar 2002, Stas Bekman wrote:
> 
> 
>>Thanks Doug, it still fails though, with a new problem:
>>
> 
> can't really help here.  you'll have to dig around and try to figure out 
> which .h file is causing this.  

I cannot figure that out, since it seems like an expansion of some macro ;(

> do you need the tables updated to sync 
> with httpd-2.0 or to add a new function?  if the latter, probably easier 
> just to add it by hand for now.

I need to do both, sync with httpd-2.0 and add a bunch of new functions.

I've simply patched C::Scan not do die on the parsing problem. Also 
added local() fix. This is against http://www.apache.org/~dougm/Scan.pm

--- /home/stas/Scan.pm  Mon Mar  4 14:29:31 2002
+++ /home/stas/perl/ithread/lib/site_perl/5.7.2/C/Scan.pm       Mon Mar  4 14:32:07 
+2002
@@ -433,7 +433,7 @@
      } else {
        $vars = parse_vars($chunk);
      }
-    push @$struct, @$vars;
+    push @$struct, @{$vars||[]};
    }
    $structs->{$structname} = $struct;
    $structname;
@@ -914,7 +914,7 @@
    }
    my $stream = $class->new(@_);
    my $oh = select $stream;
-  $/ = undef;
+  local $/;
    select $oh;
    <$stream>;
  }


-- 


_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to