diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-04 16:21:15 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-04 16:21:15 +0000 |
commit | 333631571a8671f998e6ed02a810c1b82fa11c64 (patch) | |
tree | a62072e41f8ead7219b0f592280419353ac095c3 | |
parent | 0dee428dd903b03c54b3a62d9067d68d9de0dd67 (diff) |
Blocked revisions 146359 via svnmerge
........
r146359 | seanbright | 2008-10-04 12:20:31 -0400 (Sat, 04 Oct 2008) | 10 lines
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: http://svn.digium.com/svn/asterisk/branches/1.6.0@146360 f38db490-d61c-443f-a65b-d21fe96a405b
0 files changed, 0 insertions, 0 deletions