blob: dcf345030feed395ee5d7e201a4a66cf263e3adb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Description: some apps use REG_NOERROR. Found in xfig
Index: b/usr/src/head/regex.h
===================================================================
--- a/usr/src/head/regex.h
+++ b/usr/src/head/regex.h
@@ -102,6 +102,7 @@ typedef ssize_t regoff_t;
/* regcomp and regexec return codes */
#define REG_OK 0 /* success (non-standard) */
+#define REG_NOERROR 0 /* success (non-standard) */
#define REG_NOMATCH 1 /* regexec failed to match */
#define REG_ECOLLATE 2 /* invalid collation element ref. */
#define REG_EESCAPE 3 /* trailing \ in pattern */
|