diff options
author | Stef Walter <stef@thewalter.net> | 2004-05-20 01:40:21 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2004-05-20 01:40:21 +0000 |
commit | 79896ee5a3fea2c3c32ffff0bcc6f0e17c424516 (patch) | |
tree | 72c31ea97f75535680ecf490918d1122c0acb840 | |
parent | f2927861c56167c8e8ca633b38ba5e703228e4c3 (diff) |
Win32 fixes
-rw-r--r-- | src/scrounge.c | 6 | ||||
-rw-r--r-- | win32/.cvsignore | 1 |
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 |