Commit 54571e2c authored by Kevin Harms's avatar Kevin Harms

When the code was processing the file_record_hash it was using setting the...

When the code was processing the file_record_hash it was using setting the CP_NAME_SUFFIX to the value for the new record instead of the old record. Switch the order CP_NAME_SUFFIX is updated.
fixes #45


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@490 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 9efb64b4
......@@ -143,8 +143,6 @@ while ($line = <TRACE>) {
# is this a new file record?
if($fields[0] != $current_rank || $fields[1] != $current_hash)
{
$file_record_hash{CP_NAME_SUFFIX} = $fields[4];
# process previous record
process_file_record($current_rank, $current_hash, \%file_record_hash);
......@@ -152,6 +150,7 @@ while ($line = <TRACE>) {
$current_rank = $fields[0];
$current_hash = $fields[1];
%file_record_hash = ();
$file_record_hash{CP_NAME_SUFFIX} = $fields[4];
}
$file_record_hash{$fields[2]} = $fields[3];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment