mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
1.2 KiB

  1. --- ./ginsh/ginsh_parser.yy.orig 2005-02-22 13:22:31.395437640 +0100
  2. +++ ./ginsh/ginsh_parser.yy 2005-02-22 13:23:02.008783704 +0100
  3. @@ -797,7 +797,7 @@
  4. // For shell commands, revert back to filename completion
  5. rl_completion_append_character = orig_completion_append_character;
  6. rl_basic_word_break_characters = orig_basic_word_break_characters;
  7. - rl_completer_word_break_characters = rl_basic_word_break_characters;
  8. + rl_completer_word_break_characters = (char*)rl_basic_word_break_characters;
  9. #if (GINAC_RL_VERSION_MAJOR < 4) || (GINAC_RL_VERSION_MAJOR == 4 && GINAC_RL_VERSION_MINOR < 2)
  10. return completion_matches(const_cast<char *>(text), (CPFunction *)filename_completion_function);
  11. #else
  12. @@ -807,7 +807,7 @@
  13. // Otherwise, complete function names
  14. rl_completion_append_character = '(';
  15. rl_basic_word_break_characters = " \t\n\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~";
  16. - rl_completer_word_break_characters = rl_basic_word_break_characters;
  17. + rl_completer_word_break_characters = (char*)rl_basic_word_break_characters;
  18. #if (GINAC_RL_VERSION_MAJOR < 4) || (GINAC_RL_VERSION_MAJOR == 4 && GINAC_RL_VERSION_MINOR < 2)
  19. return completion_matches(const_cast<char *>(text), (CPFunction *)fcn_generator);
  20. #else