aboutsummaryrefslogtreecommitdiffstats
path: root/P2/lib/utils.c
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-11-02 19:11:58 -0600
committerMatt Strapp <strap012@umn.edu>2020-11-02 19:11:58 -0600
commitb402b3fe7e5357db0c5558172985a459161ece92 (patch)
tree29e65d426b0b39acc4d469f86419a65a979cb893 /P2/lib/utils.c
parenthelp (diff)
downloadcsci4061-b402b3fe7e5357db0c5558172985a459161ece92.tar
csci4061-b402b3fe7e5357db0c5558172985a459161ece92.tar.gz
csci4061-b402b3fe7e5357db0c5558172985a459161ece92.tar.bz2
csci4061-b402b3fe7e5357db0c5558172985a459161ece92.tar.lz
csci4061-b402b3fe7e5357db0c5558172985a459161ece92.tar.xz
csci4061-b402b3fe7e5357db0c5558172985a459161ece92.tar.zst
csci4061-b402b3fe7e5357db0c5558172985a459161ece92.zip
get rid of comment
Diffstat (limited to '')
-rw-r--r--P2/lib/utils.c11
1 files changed, 0 insertions, 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;