From a2130ae46c88c577e6c69e6b3947e90167a0713f Mon Sep 17 00:00:00 2001 From: Daniel Olsson <danol716@student.liu.se> Date: Fri, 11 Oct 2019 15:15:25 +0200 Subject: [PATCH] Changed back the array size to the proper one after report --- debugging/fileutil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debugging/fileutil.cpp b/debugging/fileutil.cpp index 1997f8a..6ad1b22 100644 --- a/debugging/fileutil.cpp +++ b/debugging/fileutil.cpp @@ -20,8 +20,8 @@ using namespace std; int main(int argc, char **argv) { int cur = 0; - char *lines[16536]; - char line[80]; + char *lines[35000]; + char line[700]; // Fix num lines, num columns, strdup-1 FILE *fin = fopen("bible.txt", "r"); if (fin==NULL){ -- GitLab