Re: [RELEASE CANDIDATE] mod_perl-2.0.11 RC2

Damyan Ivanov <[email protected]> Thu, 26 Sep 2019 08:54:45 +0300
Newsgroups gmane.comp.apache.mod-perl.devel
Message-ID <20190926055444.ekibi3wdzcppq6lf__18472.9834481672$1569477299$gmane$org@fbd7c150-3361-11e8-8c11-5badabdd4a8d>
-=| Damyan Ivanov, 25.09.2019 23:06:56 +0300 |=-
> -=| Steve Hay, 25.09.2019 08:34:07 +0100 |=-
> > What happens if you revert the change in that file? I.e. Change
> > FINFO_NAME back to FINFO_NORM on line 168, and on line 18 (the
> > APR::Const -compile line)? Does that fix it for you?
> 
> With these two lines reverted, all tests pass for me.

Out of interest I also tried using "FINFO_NAME | FINFO_NORM" on line 
168 and the test failed with the same error. It appears that 
FINFO_NAME triggers it.

Tracing this in APR, the error seems to come from 
file_io/unix/filestat.c¹ where the valid flags on line 73 don't 
include APR_FINFO_NAME. This kind of makes sense, because the stat(2) 
struct lacks information about the file name.

 ¹ https://sources.debian.org/src/apr/1.6.5-1/file_io/unix/filestat.c/

-- Damyan