Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libedit



Module Name:    src
Committed By:   christos
Date:           Fri Jun 10 20:21:00 UTC 2005

Modified Files:
        src/lib/libedit: filecomplete.c filecomplete.h readline.c

Log Message:
Bug reported from Martin Dietze:

    The place to change the completion_append_character is
    usually somewhere in the `rl_completion_entry_function'
    callback which is where one usually can distinguish between
    file- or dir-like entries to append a slash for dirs etc.

    This does no longer work since `fn_complete()' takes the
    `append_character' as argument before the callback is executed,
    so that changes to the variable `rl_completion_append_character'
    have in fact no effect for the current completion.

Fix by adding a function that returns the rl_completion_append_character,
when it gets passed in a filename in readline emulation.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/lib/libedit/filecomplete.c
cvs rdiff -r1.2 -r1.3 src/lib/libedit/filecomplete.h
cvs rdiff -r1.55 -r1.56 src/lib/libedit/readline.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index