Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jun 2025 11:32:36 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: c27f7d6b9cf6 - main - libsysdecode: correct regexp for thr_new flags
Message-ID:  <202506041132.554BWauw016145@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=c27f7d6b9cf6d4ab01cb3d0972726c14e0aca146

commit c27f7d6b9cf6d4ab01cb3d0972726c14e0aca146
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-06-04 11:23:27 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-06-04 11:24:20 +0000

    libsysdecode: correct regexp for thr_new flags
    
    Two flags include underscore after the "THR_" prefix.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 lib/libsysdecode/mktables | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libsysdecode/mktables b/lib/libsysdecode/mktables
index 87ab24ddf1a5..5d7be2aad3c8 100644
--- a/lib/libsysdecode/mktables
+++ b/lib/libsysdecode/mktables
@@ -145,7 +145,7 @@ gen_table "sockopttcp"      "TCP_[[:alnum:]_]+[[:space:]]+[0-9]+"          "neti
 gen_table "sockoptudp"      "UDP_[[:alnum:]]+[[:space:]]+[0-9]+"           "netinet/udp.h"      "UDP_ENCAP_"
 gen_table "sockoptudplite"  "UDPLITE_[[:alnum:]_]+[[:space:]]+[0-9]+"      "netinet/udplite.h"
 gen_table "socktype"        "SOCK_[A-Z]+[[:space:]]+[1-9]+[0-9]*"          "sys/socket.h"
-gen_table "thrcreateflags"  "THR_[A-Z]+[[:space:]]+0x[0-9]+"               "sys/thr.h"
+gen_table "thrcreateflags"  "THR_[A-Z_]+[[:space:]]+0x[0-9]+"              "sys/thr.h"
 gen_table "umtxop"          "UMTX_OP_[[:alnum:]][[:alnum:]_]*[[:space:]]+[0-9]+"      "sys/umtx.h"
 gen_table "umtxopflags"     "UMTX_OP__[[:alnum:]_]+[[:space:]]+[0-9]+"                "sys/umtx.h"
 gen_table "vmprot"          "VM_PROT_[A-Z_]+[[:space:]]+\(\(vm_prot_t\)[[:space:]]+0x[0-9]+\)"  "vm/vm.h"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506041132.554BWauw016145>