aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-10-29 00:00:42 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-10-29 00:00:42 +0000
commit41f639ce8ac120cc510c80266dbb10250cbaa521 (patch)
tree081bfdbedf7d613de3a2de13871d29239a1ae7e9
parent49ede1522b4f2b78ec5af3f048cf3e43fe6b4a66 (diff)
downloadports-41f639ce8ac120cc510c80266dbb10250cbaa521.tar.gz
ports-41f639ce8ac120cc510c80266dbb10250cbaa521.zip
Notes
-rw-r--r--devel/llvm10/files/patch-lib_Support_Unix_Path.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/llvm10/files/patch-lib_Support_Unix_Path.inc b/devel/llvm10/files/patch-lib_Support_Unix_Path.inc
index 56cd0dc9e876..24a6e058ce1b 100644
--- a/devel/llvm10/files/patch-lib_Support_Unix_Path.inc
+++ b/devel/llvm10/files/patch-lib_Support_Unix_Path.inc
@@ -7,7 +7,7 @@
- for (;;) {
- switch (*(uintptr_t *)p++) {
- case AT_EXECPATH:
-+ for (; (uintptr_t *)p != AT_NULL; p++) {
++ for (; *(uintptr_t *)p != AT_NULL; p++) {
+ if (*(uintptr_t *)p++ == AT_EXECPATH)
return *p;
- case AT_NULL: