projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20562c3
)
[Tizen] fix determin lib name variation logic
accepted/tizen/7.0/unified/20230619.172241
accepted/tizen/unified/20230620.022518
author
Woongsuk Cho
<ws77.cho@samsung.com>
Thu, 8 Dec 2022 08:37:12 +0000
(17:37 +0900)
committer
이형주/MDE Lab(SR)/삼성전자
<leee.lee@samsung.com>
Mon, 19 Jun 2023 04:46:49 +0000
(13:46 +0900)
backport : https://github.com/dotnet/runtime/pull/79370
src/coreclr/vm/nativelibrary.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/vm/nativelibrary.cpp
b/src/coreclr/vm/nativelibrary.cpp
index
8a894f2
..
aa33925
100644
(file)
--- a/
src/coreclr/vm/nativelibrary.cpp
+++ b/
src/coreclr/vm/nativelibrary.cpp
@@
-559,7
+559,7
@@
namespace
SString::CIterator it = libName.Begin();
if (libName.Find(it, PLATFORM_SHARED_LIB_SUFFIX_W))
{
- it +=
COUNTOF(PLATFORM_SHARED_LIB_SUFFIX_W
);
+ it +=
(COUNTOF(PLATFORM_SHARED_LIB_SUFFIX_W) - 1
);
containsSuffix = it == libName.End() || *it == (WCHAR)'.';
}