From 94694ce2f7d15d4dc8ad4b19ef2e000e8bc74e51 Mon Sep 17 00:00:00 2001 From: night0721 Date: Thu, 1 Feb 2024 19:14:32 +0000 Subject: [PATCH] comments --- history.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/history.c b/history.c index 10aaff6..91b6220 100644 --- a/history.c +++ b/history.c @@ -112,7 +112,7 @@ char **get_all_history() { fprintf(stderr, "rush: Error allocating memory\n"); exit(EXIT_FAILURE); } - char buffer[RL_BUFSIZE]; // Adjust the buffer size as needed + char buffer[RL_BUFSIZE]; int line_count = 0; while (fgets(buffer, sizeof(buffer), history_file) != NULL) {