summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/rename.c
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2002-07-23 14:12:03 +0000
committerDamien Doligez <damien.doligez-inria.fr>2002-07-23 14:12:03 +0000
commit37bf95c248f7f8e9f0f2557224837e530c428e93 (patch)
tree1fe95869eaf97ba5888bb1f2a7163a4d6770d4f3 /otherlibs/win32unix/rename.c
parent30fdb7585514c6557ad38b87f8bfe079c322edc4 (diff)
detabisation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5029 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/rename.c')
-rw-r--r--otherlibs/win32unix/rename.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/otherlibs/win32unix/rename.c b/otherlibs/win32unix/rename.c
index 51139485b..d84bcd66a 100644
--- a/otherlibs/win32unix/rename.c
+++ b/otherlibs/win32unix/rename.c
@@ -20,10 +20,10 @@
CAMLprim value unix_rename(value path1, value path2)
{
if (MoveFileEx(String_val(path1), String_val(path2),
- MOVEFILE_REPLACE_EXISTING | MOVEFILE_WRITE_THROUGH |
- MOVEFILE_COPY_ALLOWED) == 0) {
+ MOVEFILE_REPLACE_EXISTING | MOVEFILE_WRITE_THROUGH |
+ MOVEFILE_COPY_ALLOWED) == 0) {
win32_maperr(GetLastError());
uerror("rename", path1);
- }
+ }
return Val_unit;
}