summaryrefslogtreecommitdiff
path: root/parted/parted-3.1-readline-6.3.patch
blob: 7b6502f9cd125c870bda2f7cc8ae562afbcf0320 (plain)
    1 diff -Nru parted-3.1.orig/parted/ui.c parted-3.1/parted/ui.c
    2 --- parted-3.1.orig/parted/ui.c	2014-03-04 11:20:01.556849738 +0100
    3 +++ parted-3.1/parted/ui.c	2014-03-04 11:21:36.810139757 +0100
    4 @@ -1474,7 +1474,7 @@
    5  #ifdef HAVE_LIBREADLINE
    6    if (!opt_script_mode) {
    7      rl_initialize ();
    8 -    rl_attempted_completion_function = (CPPFunction*) complete_function;
    9 +    rl_attempted_completion_function = (rl_completion_func_t *) complete_function;
   10      readline_state.in_readline = 0;
   11    }
   12  #endif

Generated by cgit