Re: [PATCH] s6-ps: fix compilation on clang

2018-09-27 Thread Laurent Bercot
s6-ps fails to compile under clang due to using a variable length array in a structure. This is gcc-specific behavior. Ah, yes. I didn't catch this one because my only clang test machine is a FreeBSD, which s6-linux-utils obviously doesn't build on. I'll add a linux/clang build somewhere. Thank

[PATCH] s6-ps: fix compilation on clang

2018-09-27 Thread John Regan
s6-ps fails to compile under clang due to using a variable length array in a structure. This is gcc-specific behavior. This patch instead creates variable-length arrays, then a structure with references to those variable-length arrays. --- src/minutils/s6-ps.c | 10 +- 1 file changed, 9 i