Files
asterisk/main
Sean Bright 6855b63d44 Fix a bug with the last item in CLI history getting duplicated when
read from the .asterisk_history file (and subsequently being duplicated
when written).  We weren't checking the result of fgets() which meant
that we read the same line twice before feof() actually returned non-
zero.

Also, stop writing out an extra blank line between each item in the
history file, fix a minor off-by-one error, and use symbolic constants
rather than a hardcoded integer.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@146359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-04 16:20:31 +00:00
..
2008-03-04 23:04:29 +00:00
2008-04-21 21:13:02 +00:00
2008-09-28 23:32:14 +00:00
2008-09-09 17:30:52 +00:00
2008-03-04 23:04:29 +00:00
2007-12-11 22:20:22 +00:00
2008-01-10 00:12:35 +00:00
2008-07-21 21:00:47 +00:00
2008-03-04 23:04:29 +00:00
2007-12-27 20:11:20 +00:00
2008-09-28 23:32:14 +00:00
2008-06-19 20:25:37 +00:00
2007-11-21 00:23:49 +00:00
2008-03-04 23:04:29 +00:00
2008-09-28 23:32:14 +00:00
2008-06-26 15:37:01 +00:00