aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--P2/lib/utils.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/P2/lib/utils.c b/P2/lib/utils.c
index a1174e3..8549d8e 100644
--- a/P2/lib/utils.c
+++ b/P2/lib/utils.c
@@ -90,7 +90,6 @@ int hashFunction(char* Qkey, int reducers){
int getInterData(char *Qkey, int reducerID) {
struct msgBuffer message= makeMessage();
//DEBUG! make sure it work.
- // How do we traverse the directory if we're not given it as an arg?
int id = openQueue();
//Likes to hang
msgrcv(id, &message, MSGSIZE, reducerID, 0);
@@ -105,8 +104,6 @@ void shuffle(int nMappers, int nReducers) {
//TODO: Error checking!!!!!!!!!!!!!
struct msgBuffer message = makeMessage();
//Once again, MAKE SURE THIS WORKS PROPERLY!
- char path[50];
- // getcwd(path, 50);
int id = openQueue();
for (int i = 1; i <= nMappers; i++) {
char newpath[100];