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/RFA] Fix operate-and-get-next when history list is full


   From: Elena Zannoni <ezannoni@redhat.com>
   Date: Sat, 17 Aug 2002 20:00:11 -0400

   Mark Kettenis writes:
    > Hi Elena,
    > 
    > The attached patch fixes a problem with operate-and-get-next when the
    > history list is full.  In that case, when executing a command, the
    > oldest entry is removed from the history, all other entries are moved
    > "up", and a new entry is put at the end of the list.  In that case we
    > shouldn't increase the current line by one the find the next line.
    > bash contains similar code as my patch adds.
    > 
    > OK to apply?
    > 

   Sure.

Done.

Mark


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