to_uppercase() interferes with control chars
Framework for numerical computations, data analysis and visualisation
Brought to you by:
numere
The function to_uppercase() interferes with control chars like \n.
Analysis:
This is a simple bug fix to be done in the function
string toUpperCase(const string&)
Simply check, if two chars form a relevant control char and escape them.
Implementation:
Bug fix was implemented as proposed in the analysis.
Tests:
Tests were passed successfully. Bug fix accepted.
Anonymous
Diff:
Diff:
Diff:
Diff: