PR#2352, suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6210 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
0f8fe7fc59
commit
2560e53f70
|
@ -179,7 +179,7 @@ CAMLprim value caml_sys_remove(value name)
|
|||
CAMLprim value caml_sys_rename(value oldname, value newname)
|
||||
{
|
||||
if (rename(String_val(oldname), String_val(newname)) != 0)
|
||||
caml_sys_error("Sys.rename");
|
||||
caml_sys_error(NO_ARG);
|
||||
return Val_unit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue