Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include - Replace REG_ENOSYS (unused) with REG_ILLSEQ.



details:   https://anonhg.NetBSD.org/src/rev/440e1f5461b5
branches:  trunk
changeset: 959762:440e1f5461b5
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Feb 23 17:14:42 2021 +0000

description:
- Replace REG_ENOSYS (unused) with REG_ILLSEQ.
- Add REG_GNU

diffstat:

 include/regex.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 13c5adc48a10 -r 440e1f5461b5 include/regex.h
--- a/include/regex.h   Tue Feb 23 17:13:44 2021 +0000
+++ b/include/regex.h   Tue Feb 23 17:14:42 2021 +0000
@@ -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 @@
 #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 @@
 #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 (!) */
 



Home | Main Index | Thread Index | Old Index