CVS commit: src/lib/libc/regex

2025-01-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jan 1 18:19:50 UTC 2025 Modified Files: src/lib/libc/regex: regcomp.c regex2.h Log Message: PR/58910: enh at google dot com: Fix signed character issue in character ranges. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/regex

2025-01-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jan 1 18:19:50 UTC 2025 Modified Files: src/lib/libc/regex: regcomp.c regex2.h Log Message: PR/58910: enh at google dot com: Fix signed character issue in character ranges. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/lib/libc/regex

2024-09-24 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Tue Sep 24 14:10:44 UTC 2024 Modified Files: src/lib/libc/regex: regex.3 Log Message: regex.3: brush up markup Use \N for backreferences in both places for consistency and to make it more obviously different from \n (besides the dif

CVS commit: src/lib/libc/regex

2024-09-24 Thread Valery Ushakov
Module Name:src Committed By: uwe Date: Tue Sep 24 14:10:44 UTC 2024 Modified Files: src/lib/libc/regex: regex.3 Log Message: regex.3: brush up markup Use \N for backreferences in both places for consistency and to make it more obviously different from \n (besides the dif

CVS commit: src/lib/libc/regex

2024-09-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Sep 22 00:22:09 UTC 2024 Modified Files: src/lib/libc/regex: regex.3 Log Message: Fix section header (Anonymous) To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/lib/libc/regex/regex.3 Please note that di

CVS commit: src/lib/libc/regex

2024-09-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Sep 22 00:22:09 UTC 2024 Modified Files: src/lib/libc/regex: regex.3 Log Message: Fix section header (Anonymous) To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/lib/libc/regex/regex.3 Please note that di

CVS commit: src/lib/libc/regex

2023-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 30 20:37:24 UTC 2023 Modified Files: src/lib/libc/regex: regcomp.c Log Message: - cast GETNEXT to unsigned where it is being promoted to int to prevent sign-extension (really it would have been better for PEEK*() and G

CVS commit: src/lib/libc/regex

2023-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 30 20:37:24 UTC 2023 Modified Files: src/lib/libc/regex: regcomp.c Log Message: - cast GETNEXT to unsigned where it is being promoted to int to prevent sign-extension (really it would have been better for PEEK*() and G

CVS commit: src/lib/libc/regex

2022-12-21 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Wed Dec 21 17:44:15 UTC 2022 Modified Files: src/lib/libc/regex: regcomp.c Log Message: Remove unneeded -D_OPENBSD_SOURCE To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/lib/libc/regex/regcomp.c Please note that

CVS commit: src/lib/libc/regex

2022-12-21 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Wed Dec 21 17:44:15 UTC 2022 Modified Files: src/lib/libc/regex: regcomp.c Log Message: Remove unneeded -D_OPENBSD_SOURCE To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/lib/libc/regex/regcomp.c Please note that

CVS commit: src/lib/libc/regex

2022-12-04 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Dec 4 16:52:49 UTC 2022 Modified Files: src/lib/libc/regex: re_format.7 Log Message: re_format(7): Add subsection headings for ERE and BRE The first paragraph could use some rewording. While BRE may be obsolete, it's still the

CVS commit: src/lib/libc/regex

2022-12-04 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Dec 4 16:52:49 UTC 2022 Modified Files: src/lib/libc/regex: re_format.7 Log Message: re_format(7): Add subsection headings for ERE and BRE The first paragraph could use some rewording. While BRE may be obsolete, it's still the

CVS commit: src/lib/libc/regex

2022-11-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Nov 5 11:33:55 UTC 2022 Modified Files: src/lib/libc/regex: regerror.c Log Message: regerror(3): Allow null errbuf if errbuf_size is zero. The man page says: If errbuf_size is 0, errbuf is ignored but the return value

CVS commit: src/lib/libc/regex

2022-11-05 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Nov 5 11:33:55 UTC 2022 Modified Files: src/lib/libc/regex: regerror.c Log Message: regerror(3): Allow null errbuf if errbuf_size is zero. The man page says: If errbuf_size is 0, errbuf is ignored but the return value

CVS commit: src/lib/libc/regex

2022-08-28 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Aug 28 12:59:50 UTC 2022 Modified Files: src/lib/libc/regex: re_format.7 Log Message: re_format(7): Use dagger, not double dagger. Make it superscript. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc

CVS commit: src/lib/libc/regex

2022-08-28 Thread Valeriy E. Ushakov
Module Name:src Committed By: uwe Date: Sun Aug 28 12:59:50 UTC 2022 Modified Files: src/lib/libc/regex: re_format.7 Log Message: re_format(7): Use dagger, not double dagger. Make it superscript. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/lib/libc

Re: CVS commit: src/lib/libc/regex

2021-02-25 Thread Christos Zoulas
In article <5c9e716-7ec1-9c7d-a7cb-21f08946...@invisible.ca>, Jared McNeill wrote: >Building tools on macOS: > >/Users/jmcneill/netbsd/git-src/tools/compat/../../lib/libc/regex/regcomp.c:1585:8: > >error: implicit declaration of function 'reallocarray' is invalid > in C99 [-Werror,-Wimplic

Re: CVS commit: src/lib/libc/regex

2021-02-25 Thread Jared McNeill
Building tools on macOS: /Users/jmcneill/netbsd/git-src/tools/compat/../../lib/libc/regex/regcomp.c:1585:8: error: implicit declaration of function 'reallocarray' is invalid in C99 [-Werror,-Wimplicit-function-declaration] ncs = reallocarray(p->g->sets, p->g->ncsets + 1, sizeof(*n

Re: CVS commit: src/lib/libc/regex

2018-02-26 Thread Kamil Rytarowski
On 26.02.2018 15:41, Christos Zoulas wrote: > On Feb 26, 2:33pm, n...@gmx.com (Kamil Rytarowski) wrote: > -- Subject: Re: CVS commit: src/lib/libc/regex > > | Looking at the internals of regasub(3) and regnsub(3), 10 is not just a > | lower limit, but also the upper limit. I will

Re: CVS commit: src/lib/libc/regex

2018-02-26 Thread Christos Zoulas
On Feb 26, 2:33pm, n...@gmx.com (Kamil Rytarowski) wrote: -- Subject: Re: CVS commit: src/lib/libc/regex | Looking at the internals of regasub(3) and regnsub(3), 10 is not just a | lower limit, but also the upper limit. I will try to explain it better | in a documentation and leave the code as

Re: CVS commit: src/lib/libc/regex

2018-02-26 Thread Kamil Rytarowski
On 25.02.2018 00:45, Christos Zoulas wrote: > On Feb 25, 12:39am, n...@gmx.com (Kamil Rytarowski) wrote: > -- Subject: Re: CVS commit: src/lib/libc/regex > > | > | --MIMEStream=_0+26969_51985210222325_05798576868 > | Content-Type: multipart/signed; micalg=pgp-sha256; > |

Re: CVS commit: src/lib/libc/regex

2018-02-24 Thread Christos Zoulas
On Feb 25, 12:39am, n...@gmx.com (Kamil Rytarowski) wrote: -- Subject: Re: CVS commit: src/lib/libc/regex | | --MIMEStream=_0+26969_51985210222325_05798576868 | Content-Type: multipart/signed; micalg=pgp-sha256; | protocol="application/pgp-signature"; |

Re: CVS commit: src/lib/libc/regex

2018-02-24 Thread Kamil Rytarowski
On 14.01.2016 21:41, Christos Zoulas wrote: > +The > +.Fa rm > +array must be at least 10 elements long, and should contain the result > +of the matches from a previous > +.Fn regexec > +call. Could we have an argument to regasub(3)/regnsub(3) "size_t nmatch" like in regexec(3), instead of assumin

Re: CVS commit: src/lib/libc/regex

2011-11-16 Thread Takehiko NOZAKI
do we have to fix src/dist/nvi/regex too? it is same spencer regex code as src/lib/libc/regex (but modified for wide character). ftp://ftp.netbsd.org/pub/NetBSD/misc/tnozaki/patch-dist_nvi_regex very truly yours -- Takehiko NOZAKI 2011/10/10 Christos Zoulas : > Module Name:    src > Committed