From: Piotr Caban Subject: Re: [PATCH] msvcp140: Add _Copy_file and port tests. Message-Id: <72e3bf01-15b9-0e10-233a-ecf7f53b0205@gmail.com> Date: Wed, 13 Feb 2019 11:31:12 +0100 In-Reply-To: <20190211170248.3728-1-gijsvrm@gmail.com> References: <20190211170248.3728-1-gijsvrm@gmail.com> Hi Gijs, On 2/11/19 6:02 PM, Gijs Vermeulen wrote: > +/* _Copy_file, msvcp140 version. */ > +int __cdecl _Copy_file(WCHAR const* source, WCHAR const* dest, MSVCP_bool fail_if_exists) > +{ > + return tr2_sys__Copy_file_wchar(source, dest, FALSE); > +} Prototype of _Copy_file doesn't look good. I don't know how many parameters the function should take but I guess that it takes 2 parameters or the last one is different. Do you have an application that calls this function? I wonder if it passes 3rd argument and what is its value. Thanks, Piotr