|
From: | Daniel J Sebald |
Subject: | Re: Octave-maintainers Digest, Vol 84, Issue 21 |
Date: | Sat, 09 Mar 2013 21:07:40 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 |
On 03/09/2013 07:47 PM, Daniel J Sebald wrote:
I'd have written a changeset but I don't know what we want to do. We could make the easy change // Number of history lines to show int limit = -50; or similar and see if hlist = command_history::list (limit, numbered_output); does the proper boundary checking (i.e., if limit is actually bigger than the list, there is no segmentation fault).
This apparently is the case. I type "history 2000" for a 1010 length list and there seems to be no problem.
Dan PS: Is there no way to clear the history?
[Prev in Thread] | Current Thread | [Next in Thread] |