]> OCCT Git - occt.git/commit
0032785: Application Framework - CDF_Store::SetFolder incorrectly processes relative...
authorvro <vro@opencascade.com>
Fri, 18 Feb 2022 15:08:24 +0000 (18:08 +0300)
committersmoskvin <smoskvin@opencascade.com>
Tue, 22 Feb 2022 17:23:29 +0000 (20:23 +0300)
commitb91e601442d983e76c63bb54039193e9f35e94d8
tree8a1e835820de63a82080be3623e929f17d4d2a35
parentcfde7eebb37b82900f29fd5da99a008bac8d5aa3
0032785: Application Framework - CDF_Store::SetFolder incorrectly processes relative paths on Linux

The code is simplified - it checks the last character and if it is a folder separator, it removes it.

Modified file:
- CDF_Store.cxx, the method SetFolder().

0032785: Application Framework - CDF_Store::SetFolder incorrectly processes relative paths on Linux

The code is simplified - it checks the last character and if it is a folder separator, it removes it.

Modified file:
- CDF_Store.cxx, the method SetFolder().

0032785: Application Framework - CDF_Store::SetFolder incorrectly processes relative paths on Linux

The code is simplified - it checks the last character and if it is a folder separator, it removes it.
// Also, variable 'l' is renamed to 'aLen'.
// And a check on the number of characters is added to avoid removal of the root folder ('/').

Modified file:
- CDF_Store.cxx, the method SetFolder().
src/CDF/CDF_Store.cxx