[Openvpn-devel] [PATCH] Move strerror_ts() to error.h/c

2017-07-20 Thread Steffan Karger
Move strerror_ts() to error.c, which is a more suitable location than the random collection of unrelated stuff called misc.c. While doing so, simplify the implementation and remove the defines. strerror() is required by C89 and C99, and we require C99, so no need to check. We might want to switch

Re: [Openvpn-devel] [PATCH] Move strerror_ts() to error.h/c

2017-07-19 Thread Gert Doering
Hi, On Wed, Jul 19, 2017 at 11:39:23PM +0200, Steffan Karger wrote: > Move strerror_ts() to error.c, which is a more suitable location than the > random collection of unrelated stuff called misc.c. While doing so, > simplify the implementation. > > (I think we should find a better place for ever

[Openvpn-devel] [PATCH] Move strerror_ts() to error.h/c

2017-07-19 Thread Steffan Karger
Move strerror_ts() to error.c, which is a more suitable location than the random collection of unrelated stuff called misc.c. While doing so, simplify the implementation. (I think we should find a better place for everything currently in misc.c, and get rid of it all together. This patch is part