[patch] usr.bin/mg/region.c: Set default shell path if SHELL is NULL

2023-03-27 Thread lux
Index: region.c === RCS file: /cvs/src/usr.bin/mg/region.c,v retrieving revision 1.40 diff -u -p -r1.40 region.c --- region.c8 Mar 2023 04:43:11 - 1.40 +++ region.c27 Mar 2023 16:48:08 - @@ -21,6 +21,7 @@

Re: [patch] usr.bin/mg/region.c: Set default shell path if SHELL is NULL

2023-03-27 Thread Omar Polo
Hello, On 2023/03/28 00:53:05 +0800, lux wrote: > Index: region.c > === > RCS file: /cvs/src/usr.bin/mg/region.c,v > retrieving revision 1.40 > diff -u -p -r1.40 region.c > --- region.c 8 Mar 2023 04:43:11 - 1.40 > +++

[patch] usr.bin/mg/region.c: Set default shell path if SHELL is NULL

2023-03-27 Thread lux
Index: region.c=== RCS file: /cvs/src/usr.bin/mg/region.c,v retrieving revision 1.40 diff -u -p -r1.40 region.c --- region.c  8 Mar 2023 04:43:11 - 1.40 +++ region.c  27 Mar 2023 16:38:41 - @@ -21,6 +21,7 @@

Re: libcrypto: Fix EINVAL in openssl/tls_init

2023-03-27 Thread Jan Klemkow
On Fri, Mar 24, 2023 at 10:02:05PM +0100, Theo Buehler wrote: > > Thus, I would suggest to set this constant to ELAST. So, we will avoid > > useless unknown error strings and a non-zero errno after tls_init(). > > ELAST isn't portable. It's under __BSD_VISIBLE in sys/errno.h. > > It would seem

Re: libcrypto: Fix EINVAL in openssl/tls_init

2023-03-27 Thread Theo Buehler
On Mon, Mar 27, 2023 at 09:59:47AM +0200, Jan Klemkow wrote: > On Fri, Mar 24, 2023 at 10:02:05PM +0100, Theo Buehler wrote: > > > Thus, I would suggest to set this constant to ELAST. So, we will avoid > > > useless unknown error strings and a non-zero errno after tls_init(). > > > > ELAST isn't

installer: armv7: better firmware dd

2023-03-27 Thread Klemens Nanni
On Sat, Mar 25, 2023 at 08:36:06PM +0100, Mark Kettenis wrote: > > From: Klemens Nanni > > We must not throw away all errors, dd(1) can be silenced properly. Same for the other ARM. > To be honest I think we should remove this from the installer scripts. > > This code tries to handle the case

Re: [patch] usr.bin/mg/region.c: Set default shell path if SHELL is NULL

2023-03-27 Thread Todd C . Miller
On Mon, 27 Mar 2023 20:06:30 +0200, Omar Polo wrote: > Is _PATH_BSHELL portable though? I can see a few stuff that uses it > (vi among others) but I'm not sure. The paths.h header is a BSD invention, though it may be present on some other systems. I don't think that's a reason not to use it