Ok, here is the summary of the 'make source_scan' issue.

using the Scan.pm from Doug's site with the patch:

--- /home/dougm/tar/Scan.pm     Mon Jun 25 16:38:02 2001
+++ /home/dougm/perl/C-Scan-0.75/Scan.pm        Wed May  2 20:57:45 2001
@@ -914,7 +914,7 @@
   }
   my $stream = $class->new(@_);
   my $oh = select $stream;
-  $/ = undef;
+  local $/ = undef;
   select $oh;
   <$stream>;
 }


* works with:
Linux 2.2.16-22

* sort of works with:
Linux 2.4.3-20mdk

with this panic message:
panic: not expecting 'tcpi_rcv_wscale' after array bounds in '
  u_int8_t tcpi_snd_wscale : 4, tcpi_rcv_wscale : 4;'

I cannot really compare it with your file Doug to check whether the
scanning has been done correctly since the generated
xs/tables/current/Apache/FunctionTable.pm is sorted and written absolutely
differently, I get a huge diff.

So if I add a new feature and want to add it via source_scan, only you can
do that if don't want to overwrite each others version of
xs/tables/current/Apache/FunctionTable.pm. Do you think we should make
sourcescan produce an identical code, no matter what machine it's running
on ( I suppose this is just an issue of sorting the keys before dumping
the datastructures).

* sourcescan does not work with:
2.2.19-4.1mdk (as reported before)

Expecting parenth after identifier in `apr_sms_t **sms'
after `apr_sms_t ' at /home/stas/perl-bleed/lib/5.7.1/C/Scan.pm line 851.
        C::Scan::do_declaration1('apr_sms_t
**sms','HASH(0x84b1a08)','HASH(0x853b67c)',0) called at
/home/stas/perl-bleed/lib/5.7.1/C/Scan.pm line 808
        C::Scan::do_declaration('apr_status_t
apr_sms_blocks_create(apr_sms_t **sms,\x{a}
apr_sms_t *pms,\x{a}
apr_size_t block_size);','HASH(0x84b1a08)','HASH(0x853b67c)') called at
/home/stas/perl-bleed/lib/5.7.1/C/Scan.pm line 738

C::Scan::do_declarations('ARRAY(0x84923b4)','HASH(0x84b1a08)','HASH(0x853b67c)')called
at /home/stas/perl-bleed/lib/site_perl/5.7.1/Data/Flow.pm line 69
...

which means that I have to upgrade my kernel to make it work? :( or I
guess patch Scan.pm :)

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.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