summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3-main.h
diff options
context:
space:
mode:
Diffstat (limited to 'xdelta3/xdelta3-main.h')
-rw-r--r--xdelta3/xdelta3-main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h
index 9723eb7..60190f0 100644
--- a/xdelta3/xdelta3-main.h
+++ b/xdelta3/xdelta3-main.h
@@ -770,7 +770,7 @@ main_file_open (main_file *xfile, const char* name, int mode)
770#elif XD3_WIN32 770#elif XD3_WIN32
771 xfile->file = CreateFile(name, 771 xfile->file = CreateFile(name,
772 (mode == XO_READ) ? GENERIC_READ : GENERIC_WRITE, 772 (mode == XO_READ) ? GENERIC_READ : GENERIC_WRITE,
773 0, 773 FILE_SHARE_READ,
774 NULL, 774 NULL,
775 (mode == XO_READ) ? OPEN_EXISTING : (option_force ? CREATE_ALWAYS : CREATE_NEW), 775 (mode == XO_READ) ? OPEN_EXISTING : (option_force ? CREATE_ALWAYS : CREATE_NEW),
776 FILE_ATTRIBUTE_NORMAL, 776 FILE_ATTRIBUTE_NORMAL,