aboutsummaryrefslogtreecommitdiffstats
path: root/P2/lib
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2020-11-03 13:30:00 -0600
committerMatt Strapp <strap012@umn.edu>2020-11-03 13:30:00 -0600
commitcb9c9a470649bf91ae0b40b1fc41c2dae78615ff (patch)
treea278242981ac48ff894d2ce0c5c2d998cec8dc32 /P2/lib
parentcomment (diff)
downloadcsci4061-cb9c9a470649bf91ae0b40b1fc41c2dae78615ff.tar
csci4061-cb9c9a470649bf91ae0b40b1fc41c2dae78615ff.tar.gz
csci4061-cb9c9a470649bf91ae0b40b1fc41c2dae78615ff.tar.bz2
csci4061-cb9c9a470649bf91ae0b40b1fc41c2dae78615ff.tar.lz
csci4061-cb9c9a470649bf91ae0b40b1fc41c2dae78615ff.tar.xz
csci4061-cb9c9a470649bf91ae0b40b1fc41c2dae78615ff.tar.zst
csci4061-cb9c9a470649bf91ae0b40b1fc41c2dae78615ff.zip
get rid of broken
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];