aboutsummaryrefslogtreecommitdiffstats
path: root/P2
diff options
context:
space:
mode:
Diffstat (limited to 'P2')
-rw-r--r--P2/lib/utils.c2
-rw-r--r--P2/lib/utils.obin18096 -> 0 bytes
-rwxr-xr-xP2/mapperbin32920 -> 0 bytes
-rwxr-xr-xP2/mapreducebin30544 -> 0 bytes
-rwxr-xr-xP2/reducerbin31840 -> 0 bytes
5 files changed, 1 insertions, 1 deletions
diff --git a/P2/lib/utils.c b/P2/lib/utils.c
index 4f86f50..e023f1a 100644
--- a/P2/lib/utils.c
+++ b/P2/lib/utils.c
@@ -25,7 +25,7 @@ char *getChunkData(int mapperID) {
msgrcv(mid, &message, MSGSIZE, mapperID, 0);
printf("\n%s\n", message.msgText);
// printf("%d\n", strncmp("END", message.msgText, 3));
- if (strncmp("END", message.msgText, 4) == 0)
+ if (strncmp("END", message.msgText, 3) == 0)
return NULL;
// char* value = message.msgText;
// return value;
diff --git a/P2/lib/utils.o b/P2/lib/utils.o
deleted file mode 100644
index 7b61d53..0000000
--- a/P2/lib/utils.o
+++ /dev/null
Binary files differ
diff --git a/P2/mapper b/P2/mapper
deleted file mode 100755
index 1764b56..0000000
--- a/P2/mapper
+++ /dev/null
Binary files differ
diff --git a/P2/mapreduce b/P2/mapreduce
deleted file mode 100755
index 1020a54..0000000
--- a/P2/mapreduce
+++ /dev/null
Binary files differ
diff --git a/P2/reducer b/P2/reducer
deleted file mode 100755
index 919dfd4..0000000
--- a/P2/reducer
+++ /dev/null
Binary files differ