Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Housekeeping
  • Loading branch information
monich committed Feb 17, 2014
1 parent 4f7d272 commit 45574b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions mms-lib/include/mms_lib_types.h
Expand Up @@ -24,6 +24,7 @@

#ifdef _WIN32
# include <io.h>
# include <direct.h>
#else
# include <unistd.h>
# include <fcntl.h>
Expand Down
4 changes: 2 additions & 2 deletions mms-lib/test/retrieve/test_retrieve.c
Expand Up @@ -251,13 +251,13 @@ test_finish(
ok = !memcmp(ptr1, ptr2, len);
}
g_mapped_file_unref(m2);
}
}
g_mapped_file_unref(m1);
}
if (ok) {
char* dir = g_path_get_dirname(f2);
remove(f2);
remove(dir);
rmdir(dir);
g_free(dir);
} else {
test->ret = RET_ERR;
Expand Down

0 comments on commit 45574b0

Please sign in to comment.