From 83ba5b1d298cb60aef089907190c87fbd85718b0 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Wed, 4 Nov 2020 10:34:48 -0600 Subject: get rid of commetn --- P2/lib/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/P2/lib/utils.c b/P2/lib/utils.c index b8922d4..db815be 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -24,7 +24,7 @@ char *getChunkData(int mapperID) { msgrcv(mid, &message, MSGSIZE, mapperID, 0); if (strncmp("END", message.msgText, 3) == 0) return NULL; - char* value = malloc(1024); // chunkSize or MSGSIZE? + char* value = malloc(1024); strcpy(value, message.msgText); return value; } -- cgit v1.2.3 From ac21c4cb91d31bc7a74e76c6ef3f5cb8fa073f54 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Wed, 4 Nov 2020 10:51:23 -0600 Subject: get rid of comment --- P2/lib/utils.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/P2/lib/utils.c b/P2/lib/utils.c index db815be..d1da70c 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -79,9 +79,7 @@ int getInterData(char *Qkey, int reducerID) { } void shuffle(int nMappers, int nReducers) { - //TODO: Error checking!!!!!!!!!!!!! struct msgBuffer message = makeMessage(); - //Once again, MAKE SURE THIS WORKS PROPERLY! int id = openQueue(); for (int i = 1; i <= nMappers; i++) { char newpath[100]; -- cgit v1.2.3