This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: complete -vs- duplicates, take 2


> From: Tom Tromey <tromey@redhat.com>
> Date: 14 Feb 2002 10:51:14 -0700
> 
> So instead I've simply posted the entire functions in question.
> Basically complete_line() was made by cut-and-paste from
> line_completion_function().  No semantics were changed.

Thanks.  The separation of code from line_completion_function is okay
with me.

But I'm still missing something: how do the other changes (in
cli-cmds.c) avoid removing duplicates twice?  I see that you added
duplicate removal to cli-cmds.c, but how does that prevent Readline
from doing the same again?  What am I missing?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]