stas 02/04/05 21:34:42 Modified: src/docs/1.0/guide Changes.pod troubleshooting.pod Log: a solution to the readdir problem by Louis Semprini Revision Changes Path 1.7 +5 -0 modperl-docs/src/docs/1.0/guide/Changes.pod Index: Changes.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/1.0/guide/Changes.pod,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Changes.pod 4 Apr 2002 02:24:27 -0000 1.6 +++ Changes.pod 6 Apr 2002 05:34:42 -0000 1.7 @@ -11,6 +11,11 @@ =head1 ??? ver 1.32 +* guide::troubleshooting + + o solution to the 'readdir()/opendir() not working' problem (Louis + Semprini) + * guide::modules o extend on Apache::Filter(Per Einar Ellefsen) 1.8 +12 -0 modperl-docs/src/docs/1.0/guide/troubleshooting.pod Index: troubleshooting.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/1.0/guide/troubleshooting.pod,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- troubleshooting.pod 4 Apr 2002 02:24:28 -0000 1.7 +++ troubleshooting.pod 6 Apr 2002 05:34:42 -0000 1.8 @@ -506,6 +506,18 @@ my %bar = $cookies->{foo}->value; } +=head2 readdir() not working + +If readdir() either fails with an exception, or in the list context it +returns the correct number of items but each item as an empty string, +you have a binary compatibility between mod_perl and Perl +problem. Most likely the two have been built against different +I<glibc> versions, which have incompatible C<struct dirent>. + +To solve this problem rebuild mod_perl and Perl against the same +I<glibc> version or get new binary packages built against the same +I<glibc> version. + =head1 Shutdown and Restart =head2 Evil things might happen when using PerlFreshRestart
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]