From b402b3fe7e5357db0c5558172985a459161ece92 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Mon, 2 Nov 2020 19:11:58 -0600 Subject: get rid of comment --- P2/lib/utils.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/P2/lib/utils.c b/P2/lib/utils.c index d4f3880..ca59f51 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -38,17 +38,6 @@ void sendChunkData(char *inputFile, int nMappers) { FILE* file = fopen(inputFile, "r"); // construct chunks of 1024 bytes while(fgets(message.msgText, chunkSize + 1, file) != NULL) { - /* Go to the end of the chunk, check if final character - is a space if character is a space, do nothing - else cut off before that word and put back file. - - Maybe copy message.msgText into a new array, do the - backwards iteration, and then replace message.msgText - with the temp array? Or something? */ - //fseek()?? (HIGH LEVEL) - //https://www.tutorialspoint.com/c_standard_library/c_function_fseek.htm - //lseek()?? (LOW LEVEL) - //http://crasseux.com/books/ctutorial/Finding-file-positions-at-a-low-level.html // TODO! help int i = 1023; -- cgit v1.2.3