Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151978269
D31050.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
680 B
Referenced Files
None
Subscribers
None
D31050.id.diff
View Options
diff --git a/contrib/nvi/regex/regex.h b/contrib/nvi/regex/regex.h
--- a/contrib/nvi/regex/regex.h
+++ b/contrib/nvi/regex/regex.h
@@ -96,6 +96,16 @@
#define REG_LARGE 01000 /* force large representation */
#define REG_BACKR 02000 /* force use of backref code */
+#ifdef USE_WIDECHAR
+/*
+ * Avoid function name conflicts with the system regex functions.
+ * This is needed e.g. to build with AddressSanitizer.
+ */
+#define regcomp nvi_regcomp
+#define regerror nvi_regerror
+#define regexec nvi_regexec
+#define regfree nvi_regfree
+#endif
int regcomp(regex_t *, const RCHAR_T *, int);
size_t regerror(int, const regex_t *, char *, size_t);
int regexec(const regex_t *,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 12, 9:44 PM (6 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31373689
Default Alt Text
D31050.id.diff (680 B)
Attached To
Mode
D31050: Allow building usr.bin/vi with MK_ASAN
Attached
Detach File
Event Timeline
Log In to Comment