#1954: GetComponents modifies its passed in thornlist file ----------------------------+----------------------------------------------- Reporter: rhaas | Owner: Type: defect | Status: new Priority: minor | Milestone: Component: GetComponents | Version: development version Resolution: | Keywords: ----------------------------+-----------------------------------------------
Comment (by knarf):
Replying to [comment:4 knarf]:
Oh, it shouldn't modify it's inputs. It reads a file and, if specified
in the thornlist itself, writes a new list to the filename that was specified. Those are usually not the same files - although they could be I suppose. But then it was the user specifying input and output file being the same, wasn't it?
To give an example: {{{ ./repos/CRL/GetComponents ./manifest/einsteintoolkit.th }}} would (should), given a standard ET thornlist, read ./manifest/einsteintoolkit.th and write ./thornlists/einsteintoolkit.th . Do you see something else?