Module Name: src Committed By: christos Date: Tue Feb 23 17:14:42 UTC 2021
Modified Files: src/include: regex.h Log Message: - Replace REG_ENOSYS (unused) with REG_ILLSEQ. - Add REG_GNU To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/include/regex.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/regex.h diff -u src/include/regex.h:1.15 src/include/regex.h:1.16 --- src/include/regex.h:1.15 Thu Jan 14 16:45:18 2016 +++ src/include/regex.h Tue Feb 23 12:14:42 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: regex.h,v 1.15 2016/01/14 21:45:18 christos Exp $ */ +/* $NetBSD: regex.h,v 1.16 2021/02/23 17:14:42 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -101,6 +101,7 @@ typedef struct { #define REG_NOSPEC 0020 #define REG_PEND 0040 #define REG_DUMP 0200 +#define REG_GNU 0400 /* regerror() flags */ #define REG_NOMATCH 1 @@ -119,7 +120,7 @@ typedef struct { #define REG_EMPTY 14 #define REG_ASSERT 15 #define REG_INVARG 16 -#define REG_ENOSYS 17 +#define REG_ILLSEQ 17 #define REG_ATOI 255 /* convert name to number (!) */ #define REG_ITOA 0400 /* convert number to name (!) */