aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Smith <smit9523@umn.edu>2020-10-04 13:56:33 -0500
committerAndrea Smith <smit9523@umn.edu>2020-10-04 13:56:33 -0500
commit60ab80b0885c8fc059e3be949b24eef019e7a908 (patch)
tree5201ea5c70e87b0a41685f983c45d84e0edd1a40
parentUpdate mapper.c pls word dear god (diff)
downloadcsci4061-60ab80b0885c8fc059e3be949b24eef019e7a908.tar
csci4061-60ab80b0885c8fc059e3be949b24eef019e7a908.tar.gz
csci4061-60ab80b0885c8fc059e3be949b24eef019e7a908.tar.bz2
csci4061-60ab80b0885c8fc059e3be949b24eef019e7a908.tar.lz
csci4061-60ab80b0885c8fc059e3be949b24eef019e7a908.tar.xz
csci4061-60ab80b0885c8fc059e3be949b24eef019e7a908.tar.zst
csci4061-60ab80b0885c8fc059e3be949b24eef019e7a908.zip
Update mapper again this time pls work dear fucking god
-rw-r--r--P1/src/mapper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/P1/src/mapper.c b/P1/src/mapper.c
index 2379264..e23a484 100644
--- a/P1/src/mapper.c
+++ b/P1/src/mapper.c
@@ -116,6 +116,7 @@ void writeIntermediateDS() {
sprintf(filename, "output/map_%d/%s.txt", mapperID, tempNode -> key);
FILE* fptr = fopen(filename, "w");
tempNode = tempNode -> next;
+ fclose(fptr);
}
}