Fwd from arm@: Re: problem with new php build on armv7

2018-08-11 Thread Stuart Henderson
I just noticed (after replying) that this was originally on arm@. Forwarding to a list with slightly more readers :) - Forwarded message from Stuart Henderson - From: Stuart Henderson Date: Sat, 11 Aug 2018 12:16:50 +0100 To: s_g...@telus.net Cc: a...@openbsd.org User-Agent: NeoMutt/20

Re: openssl s_time: refactor benchmark loops

2018-08-11 Thread Kinichiro Inoguchi
Hi, I saw that 2 loops are almost identical, and I think diff tidy up these 2 loops in 1 function. I found these 2 lines were not in original code. > + shutdown(SSL_get_fd(scon), SHUT_RDWR); > + close(SSL_get_fd(scon)); Is this part needed ? Kinichiro Inoguchi On Thu,

Re: openssl s_time: refactor benchmark loops

2018-08-11 Thread Scott Cheloha
On Sat, Aug 11, 2018 at 11:22:09PM +0900, Kinichiro Inoguchi wrote: > Hi, > > I saw that 2 loops are almost identical, and I think diff tidy up these 2 > loops > in 1 function. > > I found these 2 lines were not in original code. > > > + shutdown(SSL_get_fd(scon), SHUT_RDWR); > > +

Re: openssl s_time: refactor benchmark loops

2018-08-11 Thread Theo Buehler
On Sat, Aug 11, 2018 at 10:51:12AM -0500, Scott Cheloha wrote: > On Sat, Aug 11, 2018 at 11:22:09PM +0900, Kinichiro Inoguchi wrote: > > Hi, > > > > I saw that 2 loops are almost identical, and I think diff tidy up these 2 > > loops > > in 1 function. > > > > I found these 2 lines were not in or

Re: ntpd: make host_*() AF agnostic

2018-08-11 Thread Klemens Nanni
On Wed, Aug 01, 2018 at 12:03:19AM +0200, Klemens Nanni wrote: > This diff merges `host_v4()' and `host_v6()' into the much simpler > `host_addr()'. > > Instead of calling inet_pton() and getaddrinfo() while using AF specific > structs for IPv4 and IPv6 respectively, use getaddrinfo() for both in

Re: Fwd from arm@: Re: problem with new php build on armv7

2018-08-11 Thread s_graf
I am not sure I was clear enough that the problem is with php_fpm. When it is started the child processes seem to continually stop and are restarted. In spite of what the log file says the processes seem to quit right away as the system is tied up with running the processes and logging the stops.

change ber_write_elements to return ssize_t

2018-08-11 Thread Rob Pierce
In aldap.c, tls_write(2) and write(2) also return ssize_t, so both error and wrote have been changed accordingly. ok? Index: usr.bin/ldap/aldap.c === RCS file: /cvs/src/usr.bin/ldap/aldap.c,v retrieving revision 1.4 diff -u -p -r1.4

Re: change ber_write_elements to return ssize_t

2018-08-11 Thread Claudio Jeker
On Sat, Aug 11, 2018 at 09:54:44PM -0400, Rob Pierce wrote: > In aldap.c, tls_write(2) and write(2) also return ssize_t, so both error and > wrote have been changed accordingly. > > ok? OK claudio > Index: usr.bin/ldap/aldap.c > ==