commit | ed56301abd8ba11463b340b4c5c6f7af57ed6623 | [log] [tgz] |
---|---|---|
author | Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> | Sat May 16 12:53:50 2020 +0200 |
committer | Jeff Genovy <29107334+jefgen@users.noreply.github.com> | Wed Jun 24 11:38:41 2020 -0700 |
tree | 5ebf5f7ddfe0abd1bb32e58a9cd5849033422273 | |
parent | ef12882fdbbfc581f0b55fc423467356057da064 [diff] |
ICU-20545 Ensure that path ends with detected file separator CharString, when asked, appends U_FILE_SEP_CHAR at the end of the string it holds, if it won't find U_FILE_SEP_CHAR or U_FILE_ALT_SEP_CHAR there. The problem starts if the dir variable uses U_FILE_ALT_SEP_CHAR which is not equal to U_FILE_SEP_CHAR. Then the resulting path could look like this ../data\ instead of this ../data/ This patch uses U_FILE_SEP_CHAR unless it detects that the dir variable doesn't use it, and uses U_FILE_ALT_SEP_CHAR instead.
This is the repository for the International Components for Unicode. The ICU project is under the stewardship of The Unicode Consortium.
master
branch)Build | Status |
---|---|
TravisCI | |
Azure Pipelines | |
Azure Pipelines (Exhaustive Tests) | |
Azure Pipelines (Valgrind ICU4C) | |
AppVeyor | |
Fuzzing |
icu4c/
ICU for C/C++icu4j/
ICU for Javatools/
Toolsvendor/
Vendor dependenciesPlease see ./icu4c/LICENSE (C and J are under an identical license file.)
Copyright © 2016 and later Unicode, Inc. and others. All Rights Reserved. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. Terms of Use and License