Re: Eliminate trailing whitespace & typo in chmod

2018-04-14 Thread Theo de Raadt
>https://en.wikipedia.org/wiki/If_and_only_if > >As a non-native speaker, it took some years before I realized the use of >"iff" is not a typo. And now you either find your own language has a similar linguistic tool, or you miss the strictness of the phrase? (42)

Re: Eliminate trailing whitespace & typo in chmod

2018-04-14 Thread Zbyszek Żółkiewski
guys, I learn from this list so much beside technical stuff! Glad i am here _ Zbyszek Żółkiewski > Wiadomość napisana przez Theo de Raadt w dniu > 14.04.2018, o godz. 09:23: > >> https://en.wikipedia.org/wiki/If_and_only_if >> >> As a non-native speaker, it took some

Re: ksh: quote empties

2018-04-14 Thread Martijn Dekker
Op 15-04-18 om 03:41 schreef Philip Guenther: On Sun, 15 Apr 2018, Klemens Nanni wrote: It also badly effects non-empty cases: ... $ ./obj/ksh -c alias autoload='' functions='' Hah! The original diff i actually broken (it tests the wrong variable) but I fixed that

Re: ksh: quote empties

2018-04-14 Thread Philip Guenther
On Sun, 15 Apr 2018, Martijn Dekker wrote: > $ ksh -c 'trap "" CONT; trap' > trap -- CONT > > That is not "suitable for re-entry into the shell". Empty words must be > quoted, or they disappear. Expected output: > > trap -- '' CONT > > Patch below. OK? That also changes the output of set,

Re: ksh: quote empties

2018-04-14 Thread Klemens Nanni
On Sat, Apr 14, 2018 at 06:03:29PM -0700, Philip Guenther wrote: > On Sun, 15 Apr 2018, Martijn Dekker wrote: > > $ ksh -c 'trap "" CONT; trap' > > trap -- CONT > > > > That is not "suitable for re-entry into the shell". Empty words must be > > quoted, or they disappear. Expected output: > > >

Re: ksh: quote empties

2018-04-14 Thread Martijn Dekker
Op 15-04-18 om 03:03 schreef Philip Guenther: On Sun, 15 Apr 2018, Martijn Dekker wrote: $ ksh -c 'trap "" CONT; trap' trap -- CONT That is not "suitable for re-entry into the shell". Empty words must be quoted, or they disappear. Expected output: trap -- '' CONT Patch below. OK? That

Re: ksh: quote empties

2018-04-14 Thread Philip Guenther
On Sun, 15 Apr 2018, Klemens Nanni wrote: > It also badly effects non-empty cases: ... > $ ./obj/ksh -c alias > autoload='' > functions='' Hah! The original diff i actually broken (it tests the wrong variable) but I fixed that by accident when I manually made the diff in my

gpioow: gpio_pin_unmap order around config_detach

2018-04-14 Thread Artturi Alm
Hi, i'm not suggesting the current order is easy to hit problems with, but i think diff below would make sense anyway, so the 'owchild' doesn't get even a remote chance in theory to endure any gpio failures? -Artturi diff --git sys/dev/gpio/gpioow.c sys/dev/gpio/gpioow.c index

ksh: quote empties

2018-04-14 Thread Martijn Dekker
$ ksh -c 'trap "" CONT; trap' trap -- CONT That is not "suitable for re-entry into the shell". Empty words must be quoted, or they disappear. Expected output: trap -- '' CONT Patch below. OK? - M. Index: misc.c === RCS file:

Re: ksh: quote empties

2018-04-14 Thread Martijn Dekker
Op 15-04-18 om 04:09 schreef Martijn Dekker: Op 15-04-18 om 03:41 schreef Philip Guenther: On Sun, 15 Apr 2018, Klemens Nanni wrote: It also badly effects non-empty cases: ... $ ./obj/ksh -c alias autoload='' functions='' Hah!  The original diff i actually broken (it tests the

OpenBSD Errata: April 14th, 2018 (perl)

2018-04-14 Thread Andrew Hewus Fresh
Errata patches for perl have been released for OpenBSD 6.1, 6.2, and 6.3. Heap overflows exist in perl which can lead to segmentation faults, crashes, and reading memory past the buffer. Binary updates for the amd64, i386, and arm64 platforms are available via the syspatch utility. Source code