Re: [Lxr-dev] genxref hangs after genindex phase
Brought to you by:
ajlittoz
From: Malcolm B. <ma...@br...> - 2001-08-14 14:13:47
|
"CORRAL,JOSEPH (HP-Boise,ex1)" wrote: > > I tried to index my repository using genxref 1.21, and it got hung up on me. > It stalled after the genindex phase. From what I can tell, the problem was > in the following lines. > > 066 foreach (@versions) { > 067 genindex('/', $_); > 068 genrefs('/', $_); > 069 } > > $_ is not local and it is changed while genindex is executed, and this > causes a problem when line 68 is executed. > > I have submitted a simple patch, 450662, that uses a local variable instead. > Everything seems to be working for me now. Let me know if I've missed > something. Thanks, I've applied a variation on this patch. Just out of interest, are you using the CVS backend or the Plain one - with a combination of Plain & Mysql here, the previous version worked ok, and I'm curious which module is tramping on $_ Cheers, Malcolm |