From c769a571dc991747bfc90019877461ede6e40d6d Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Fri, 22 Jul 2016 12:50:42 -0400 Subject: [PATCH] 2016-07-22 Fred Gleason * Implemented an end-of-log delimiter in the output of the 'list' command for rdclilogedit(1). --- ChangeLog | 3 +++ utils/rdclilogedit/operations.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ae0d6750..af55b3d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15379,3 +15379,6 @@ 2016-07-22 Fred Gleason * Fixed bug in 'utils/rdclilogedit/rdclilogedit.cpp' that would cause the DB connection to time out. +2016-07-22 Fred Gleason + * Implemented an end-of-log delimiter in the output of the 'list' + command for rdclilogedit(1). diff --git a/utils/rdclilogedit/operations.cpp b/utils/rdclilogedit/operations.cpp index 33263e7d..cd0c7bcc 100644 --- a/utils/rdclilogedit/operations.cpp +++ b/utils/rdclilogedit/operations.cpp @@ -125,7 +125,7 @@ void MainObject::List() for(int i=0;isize();i++) { printf("%4d %s\n",i,(const char *)ListLine(edit_log_event,i)); } - fflush(stdout); + printf("%4d --- end of log ---\n",edit_log_event->size()); }