On Fri, 17 Feb 2023 14:35:45 GMT, Laurent Bourgès <lbour...@openjdk.org> wrote:
> Or use #define KBD_BUF_LEN 256 And use it explicitely in array init & > memmove... as plain old C. Turns out C++ has an even more elegant solution for this: Passing an array by reference https://github.com/openjdk/jdk/pull/19798/files ------------- PR Comment: https://git.openjdk.org/jdk/pull/12597#issuecomment-2180125172