MantisBT - Open CASCADE
View Issue Details
0029447Open CASCADE[OCCT] OCCT:Foundation Classespublic2018-01-25 11:472018-06-29 21:19
msv 
apn 
normalminor 
closedfixed 
[OCCT] 6.3.1 
[OCCT] 7.3.0[OCCT] 7.3.0 
Not needed
0029447: The constructor of Message_PrinterOStream mixes up cout and cerr
The constructor of Message_PrinterOStream mixes up cout and cerr:
  if (strcasecmp(theFileName, "cout") == 0)
  {
    myStream = &std::cerr;
    return;
  }
  else if (strcasecmp(theFileName, "cerr") == 0)
  {
    myStream = &std::cout;
    return;
  }
N/A
No tags attached.
Issue History
2018-01-25 11:47msvNew Issue
2018-01-25 11:47msvAssigned To => abv
2018-01-28 19:52gitNote Added: 0073628
2018-01-28 19:53abvNote Added: 0073629
2018-01-28 19:53abvAssigned Toabv => msv
2018-01-28 19:53abvStatusnew => resolved
2018-01-28 19:53abvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18525#r18525
2018-01-29 10:00msvNote Added: 0073635
2018-01-29 10:00msvAssigned Tomsv => bugmaster
2018-01-29 10:00msvStatusresolved => reviewed
2018-01-29 10:24kgvProduct Version7.2.0 => 6.3.1
2018-01-29 13:55apnTest case number => Not needed
2018-01-29 13:55apnStatusreviewed => tested
2018-02-03 18:59apnChangeset attached => occt master 32712d67
2018-02-03 18:59apnAssigned Tobugmaster => apn
2018-02-03 18:59apnStatustested => verified
2018-02-03 18:59apnResolutionopen => fixed
2018-02-05 11:39gitNote Added: 0073781
2018-02-20 12:58aivTarget Version7.4.0* => 7.3.0
2018-06-29 21:15aivFixed in Version => 7.3.0
2018-06-29 21:19aivStatusverified => closed

Notes
(0073628)
git   
2018-01-28 19:52   
Branch CR29447 has been created by abv.

SHA-1: 1909be62315f512769ba9164f034f51c2c7f0fdf


Detailed log of new commits:

Author: abv
Date: Sun Jan 28 19:49:43 2018 +0300

    0029447: The constructor of Message_PrinterOStream mixes up cout and cerr
    
    Use of cerr or cout is corrected in Message_PrinterOStream constructor
(0073629)
abv   
2018-01-28 19:53   
Fix pushed to CR29447, please review. I suppose that testing is not needed since the fix is trivial and this code is never used across OCCT.
(0073635)
msv   
2018-01-29 10:00   
Reviewed.
(0073781)
git   
2018-02-05 11:39   
Branch CR29447 has been deleted by kgv.

SHA-1: 1909be62315f512769ba9164f034f51c2c7f0fdf