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/a5848fa34f8c
branches:  trunk
changeset: 953027:a5848fa34f8c
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 749684393a6d -r a5848fa34f8c 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