Hi,
On 02/11/2018 09:43 AM, Thomas Huth wrote:
Am Sat, 10 Feb 2018 19:48:55 +0100
schrieb Thorsten Otto <admin@xxxxxxxxxxx>:
You could also do something like
static char my_rl_readline_name[] = "Hatari";
rl_readline_name = my_rl_readline_name;
That should work regardless how the variable is declared.
You're right, that should do the trick! Committed. Thanks for the
suggestion!
That makes code less readable and better code would declare that
array also const. Then there would again be warning when bad
header file is used.