In shell.c file "get_completion_module" function ,the code "return str ? dest : NULL;" should be "return str ? NULL : dest;"