summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/scrounge.c6
-rw-r--r--win32/.cvsignore1
2 files changed, 6 insertions, 1 deletions
diff --git a/src/scrounge.c b/src/scrounge.c
index eb1ac10..7dd7134 100644
--- a/src/scrounge.c
+++ b/src/scrounge.c
@@ -215,7 +215,11 @@ void processMFTRecord(partitioninfo* pi, uint64 sector, uint32 flags)
if(!g_verifyMode)
#endif
{
- if(fc_mkdir(basics.filename, DEF_DIR_MODE) == -1)
+#ifdef _WIN32
+ if(fc_mkdir(basics.filename) == -1)
+#else
+ if(fc_mkdir(basics.filename, DEF_DIR_MODE) == -1)
+#endif
{
warn("couldn't create directory '" FC_PRINTF "' putting files in parent directory", basics.filename);
}
diff --git a/win32/.cvsignore b/win32/.cvsignore
index 51f1a96..f45ace2 100644
--- a/win32/.cvsignore
+++ b/win32/.cvsignore
@@ -4,3 +4,4 @@ win32.opt
debug
Makefile
Makefile.in
+release \ No newline at end of file