From a4141ae6be6f861e1fe948aa43dcc90f4e20eea7 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Tue, 26 Jan 2016 19:57:14 +0100 Subject: [PATCH] removed debug printf --- Clean System Files/readLine.c | 6 ------ readline.history | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) create mode 100644 readline.history diff --git a/Clean System Files/readLine.c b/Clean System Files/readLine.c index fa9315a..e6a2c53 100644 --- a/Clean System Files/readLine.c +++ b/Clean System Files/readLine.c @@ -79,7 +79,6 @@ void cleanGetHistoryItem(int num, CleanString *line, CleanString *timestamp){ } void cleanInitNewHistoryState(int offset, int flags, int num){ - printf("Initializing: %d, %d, %d\n", offset, flags, num); if(history_state != NULL){ free(history_state); } @@ -101,22 +100,17 @@ void cleanInitNewHistoryState(int offset, int flags, int num){ history_state->length = num; history_state->size = num; history_state->flags = 0; - printf("Initialization done\n"); } void cleanSetNewHistoryEntry(int i, CleanString line, CleanString timestamp){ char *cs_line = cleanStringToCString(line); char *cs_timestamp = cleanStringToCString(timestamp); - printf("adding: %d, %s, %s\n", i, cs_line, cs_timestamp); history_state->entries[i]->line = cs_line; history_state->entries[i]->timestamp = cs_timestamp; - printf("done adding: %d, %s, %s\n", i, cs_line, cs_timestamp); } void cleanCommitSetHistory(void){ - printf("commit\n"); history_set_history_state(history_state); - printf("committed\n"); } void cleanAddHistory(CleanString entry){ diff --git a/readline.history b/readline.history new file mode 100644 index 0000000..6a9a541 --- /dev/null +++ b/readline.history @@ -0,0 +1 @@ +testentry -- 2.20.1