Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156667876
D40693.id123609.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
483 B
Referenced Files
None
Subscribers
None
D40693.id123609.diff
View Options
diff --git a/lib/libc/amd64/string/archlevel.c b/lib/libc/amd64/string/archlevel.c
--- a/lib/libc/amd64/string/archlevel.c
+++ b/lib/libc/amd64/string/archlevel.c
@@ -105,7 +105,8 @@
/* can't use strcmp here: would recurse during ifunc resolution */
for (i = 0; str[i] == candidate[i]; i++)
- if (str[i] == '\0')
+ /* suffixes starting with : or + are ignored for future extensions */
+ if (str[i] == '\0' || str[i] == ':' || str[i] == '+')
return (level);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 16, 1:28 PM (1 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33131485
Default Alt Text
D40693.id123609.diff (483 B)
Attached To
Mode
D40693: lib/libc/amd64: add archlevel-based simd dispatch framework
Attached
Detach File
Event Timeline
Log In to Comment