#4484 closed defect (fixed)

GcovFunctionData.cc: Not restoring ostream format error spotted by Coverity

Reported by: Ryan Long Owned by: Ryan Long <ryan.long@…>
Priority: normal Milestone: 6.1
Component: tool Version: 6
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

CID 1506205: Not restoring ostream format

   1. format_changed: hex changes the format state of textFile for category basefield.
360    textFile << " > BLOCK " << std::setw( 3 ) << block->id
361             << " from " << block->sourceFileName << std::endl
362             << "    -counter: " << std::setw( 5 ) << block->counter << std::endl
363             << "    -flags: 0x" << std::hex << block->flags << std::endl
364             << "    -lines: ";

Change History (1)

comment:1 Changed on 08/13/21 at 19:01:59 by Ryan Long <ryan.long@…>

Owner: set to Ryan Long <ryan.long@…>
Resolution: fixed
Status: newclosed

In dc5e1fc/rtems-tools:

GcovFunctionData?.cc: Add ostream_guard

CID 1506205: Not restoring ostream format

Closes #4484

Note: See TracTickets for help on using tickets.