RE: [Lxr-dev] genxref hangs after genindex phase
Brought to you by:
ajlittoz
From: CORRAL,JOSEPH (HP-Boise,ex1) <jos...@hp...> - 2001-08-15 20:04:41
|
> -----Original Message----- > From: Malcolm Box [mailto:ma...@br...] > Sent: Tuesday, August 14, 2001 8:11 AM > To: lxr...@li... > Subject: Re: [Lxr-dev] genxref hangs after genindex phase > > > "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 $_ I am using the CVS backend. Cheers, JEC > > Cheers, > > Malcolm > > _______________________________________________ > Lxr-developer mailing list > Lxr...@li... > http://lists.sourceforge.net/lists/listinfo/lxr-developer > |