package malaga-bin
tags 425366 + patch
thanks
The patch below fixes the malaga segfault when Crtl+D is used at the
interactive malaga prompt. CC to Bjoern Beutel to let him know about this bug
too.
Harri
--- commands_interactive.c-orig 2007-05-21 11:54:09.000000000 +0300
+++ commands_interactive.c 2007-05-21 12:02:16.000000000 +0300
@@ -89,7 +89,7 @@
{
#ifdef READLINE
command_line = readline(p);
- if (! g_utf8_validate( command_line, -1, NULL ))
+ if (command_line && ! g_utf8_validate( command_line, -1, NULL ))
complain( "Illegal UTF-8 character." );
#else
printf( "%s> ", prompt );
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]