Symbols from new jemalloc not found

2024-09-25 Thread Ryo ONODERA
Hi, On NetBSD/amd64-current of today with new jemalloc, linking to jemalloc always returns undefined references. This problem causes build failures of pkgsrc/www/firefox and misc/libreoffice at least. Could anyone take a look at this problem? The following is my simple test case. $ cat test.c i

Re: etiquette for new failing test cases, followed by fix

2024-09-25 Thread Greg Troxel
Taylor R Campbell writes: > What you've done is fine, but what I do -- and what I suggest everyone > do, though we don't have any mandatory rule -- is: Yeah, I realize that filing a PR and making the test xfail would be nicer, but my question -- which you answered was about whether the corner-cu

Re: Fwd: Re: interactive shell detection in shrc

2024-09-25 Thread Steffen Nurpmeso
Robert Elz wrote in <6599.1727248...@jacaranda.noi.kre.to>: |Date:Tue, 24 Sep 2024 23:54:13 + (UTC) |From:RVP |Message-ID: <4d7cdca7-fcf4-8985-7c1d-79ef63125...@sdf.org> | || On Tue, 24 Sep 2024, Steffen Nurpmeso wrote: | |I replied to Steffen's (pre-forwar

Re: Fwd: Re: interactive shell detection in shrc

2024-09-25 Thread Steffen Nurpmeso
RVP wrote in <4d7cdca7-fcf4-8985-7c1d-79ef63125...@sdf.org>: |On Tue, 24 Sep 2024, Steffen Nurpmeso wrote: |> Robert Elz wrote in |> <7132.1727161...@jacaranda.noi.kre.to>: |>|Date:Tue, 24 Sep 2024 00:56:40 +0200 |> [...] |>| if $___SHRC |> |> Oh, i would be afraid of doing thi

Re: sh(1) read: add LINE_MAX safeguard and "-n" option

2024-09-25 Thread Robert Elz
Date:Wed, 25 Sep 2024 20:03:56 +0200 From:tlaro...@kergis.com Message-ID: | But a nul byte given as an escaped sequence does not generate an error | and is discarded (present implementation OK, since choice up to the | implementation) conforming to (issue 8, tak

Re: etiquette for new failing test cases, followed by fix

2024-09-25 Thread Taylor R Campbell
> Date: Thu, 19 Sep 2024 09:20:42 -0400 > From: Greg Troxel > > I have found a serious bug in reqmuo(3), and a fix in FreeBSD, validated > by regression tests in proj and a hand-written test. The problem exists > in current and 10, and surely in 9 but I haven't checked. > > We currently have no

Re: sh(1) read: add LINE_MAX safeguard and "-n" option

2024-09-25 Thread tlaronde
On Wed, Sep 25, 2024 at 07:20:31PM +0200, tlaro...@kergis.com wrote: > On Thu, Sep 26, 2024 at 12:02:08AM +0700, Robert Elz wrote: > > > > That is, currently the read builtin simply ignores \0 bytes in the input, > > except if \0 is the delimiter character. We could change that, and make > > \0

Re: sh(1) read: add LINE_MAX safeguard and "-n" option

2024-09-25 Thread tlaronde
On Thu, Sep 26, 2024 at 12:02:08AM +0700, Robert Elz wrote: > Date:Wed, 25 Sep 2024 21:01:12 +0700 > From:Robert Elz > Message-ID: <24247.1727272...@jacaranda.noi.kre.to> > > This isn't avoiding adding a -n that works, but a possible simpler change > that might help,

Re: sh(1) read: add LINE_MAX safeguard and "-n" option

2024-09-25 Thread Robert Elz
Date:Wed, 25 Sep 2024 21:01:12 +0700 From:Robert Elz Message-ID: <24247.1727272...@jacaranda.noi.kre.to> This isn't avoiding adding a -n that works, but a possible simpler change that might help, is much easier to install properly, should break nothing, and I think wi

Re: sh(1) and NUL

2024-09-25 Thread Robert Elz
Date:Wed, 25 Sep 2024 16:44:12 +0200 From:Thomas Klausner Message-ID: | Since we're talking about sh(1) so much - OpenBSD just changed their | ksh to abort on reading NUL in shell scripts. | | Perhaps we want something similar? That's one of the easier chang

sh(1) and NUL

2024-09-25 Thread Thomas Klausner
Hi! Since we're talking about sh(1) so much - OpenBSD just changed their ksh to abort on reading NUL in shell scripts. Perhaps we want something similar? Commit message with all the details here: https://marc.info/?l=openbsd-cvs&m=172712621620348&w=2 Thomas

Re: sh(1) read: add LINE_MAX safeguard and "-n" option

2024-09-25 Thread Robert Elz
Date:Wed, 25 Sep 2024 15:12:07 +0200 From:tlaro...@kergis.com Message-ID: | FWIW, you will find below a proposed solution: Thanks, but there is no need, I will make it work eventually. I like that you got rid of atoi() from the previous version, but sh has a funct

Re: sh(1) read: add LINE_MAX safeguard and "-n" option

2024-09-25 Thread tlaronde
On Tue, Sep 24, 2024 at 02:27:48PM +0200, tlaro...@kergis.com wrote: > On Tue, Sep 24, 2024 at 06:54:35PM +0700, Robert Elz wrote: > > Date:Tue, 24 Sep 2024 12:56:49 +0200 > > From: > > Message-ID: > > > > | The present patch does two things: > > | > > | 1) Set,

Re: Fwd: Re: interactive shell detection in shrc

2024-09-25 Thread Robert Elz
Date:Wed, 25 Sep 2024 14:17:07 +0700 From:Robert Elz Message-ID: <6599.1727248...@jacaranda.noi.kre.to> | Not a syntax error, an execution error, Sorry, saw your following message correcting that after I replied. | In NetBSD's sh you can actually do | ''()

Re: Fwd: Re: interactive shell detection in shrc

2024-09-25 Thread Robert Elz
Date:Tue, 24 Sep 2024 23:54:13 + (UTC) From:RVP Message-ID: <4d7cdca7-fcf4-8985-7c1d-79ef63125...@sdf.org> | On Tue, 24 Sep 2024, Steffen Nurpmeso wrote: I replied to Steffen's (pre-forwarded) message off list, but: | Yes, this surprised me too. This test is