On Friday 29 February 2008 16:54, Ashley Pittman wrote:
> I've been looking at my output aggregation tool again this week and have
> spotted a problem with the new output qualifier, in the old system with
> the --log-file-qualifier option the name and value of the variable are

You're absolutely right.  Sorry for the breakage.

I guess one way to fix it would be to scan the --log-file string
(which should be pointed to by VG_(clo_log_name)).

When you see ${FOO} in the string, emit

   <logfilequalifier> <var>FOO</var> <value>$FOO</value>
   </logfilequalifier>

where obviously $FOO denotes the value of FOO at the time you
process the string.

You can find some code used to deal with ${FOO} in VG_(expand_file_name).
Perhaps that could be factored into a function used by both the 
current log-file-name handling, and the logfilequalifier stuff.

J

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Valgrind-developers mailing list
Valgrind-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to