[ET Trac] [Einstein Toolkit] #323: GetComponents overwrites thorn list

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed Mar 23 22:33:50 CDT 2011


#323: GetComponents overwrites thorn list
----------------------------+-----------------------------------------------
  Reporter:  eschnett       |       Owner:  eric9   
      Type:  defect         |      Status:  accepted
  Priority:  critical       |   Milestone:          
 Component:  GetComponents  |     Version:          
Resolution:                 |    Keywords:          
----------------------------+-----------------------------------------------

Comment (by eric9):

 It seems this will actually be a bit more complicated than I thought,
 given the current structure of GetComponents. Unless the user passes the
 --root option, I don't know where the source tree is located. That means I
 won't know the value of $ROOT until some point during the parse_list
 subroutine, while I'm looping through the component lists. I'm pretty sure
 that Perl won't let me add to that list while looping through it, so I
 think I'll have to rework the parse_list subroutine a bit to finalize this
 change (it needs it anyway....)

 I'm open to other suggestions though.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/323#comment:11>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list