search for: movefile_replace_existing

Displaying 16 results from an estimated 16 matches for "movefile_replace_existing".

2004 Aug 13
4
(PR#7163) Install packages does not work on Win2003 serv er
> -----Original Message----- > From: Uwe Ligges [SMTP:ligges@statistik.uni-dortmund.de] > Sent: Thursday, August 12, 2004 5:38 PM > To: Walke, Rainer > Cc: R-devel > Subject: Re: [Rd] (PR#7163) Install packages does not work on Win2003 > server > > Walke, Rainer wrote: > > > >a) It works for me. > > >b) If it works for you on some Windows
2018 Mar 22
4
[pre-RFC] Data races in concurrent ThinLTO processes
...std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) { SmallVector<wchar_t, MAX_PATH> WideFrom; if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom)) return EC2; if (::MoveFileExW(WideFrom.begin(), WideTo.begin(), - MOVEFILE_REPLACE_EXISTING)) + MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING)) return std::error_code(); return mapWindowsError(GetLastError()); } Note, that when the source and destination are located on the different logical volumes, we will effectively perform a copy, follo...
2011 Mar 02
1
file.rename(): Guaranteed to be complete or not at all?
Hi, assume I have an existing file 'pathname' and I want to rename it to 'pathnameN' (which does not exist). I use: res <- file.rename(pathname, pathnameN); Is it guaranteed that: (1) if res == TRUE, the file now have name 'pathnameN' and there is no file with name 'pathname'? (2) if res == FALSE, nothing has changed? or could it theoretically also be the
2018 Mar 27
2
[pre-RFC] Data races in concurrent ThinLTO processes
...td::system_category())) {* > * SmallVector<wchar_t, MAX_PATH> WideFrom;* > * if (std::error_code EC2 = realPathFromHandle(FromHandle, > WideFrom))* > * return EC2;* > * if (::MoveFileExW(WideFrom.begin(), WideTo.begin(),* > *- MOVEFILE_REPLACE_EXISTING))* > *+ MOVEFILE_COPY_ALLOWED | > MOVEFILE_REPLACE_EXISTING))* > * return std::error_code();* > * return mapWindowsError(GetLastError());* > * }* > > Note, that when the source and destination are located on the different > logical vo...
2018 Mar 22
0
[pre-RFC] Data races in concurrent ThinLTO processes
..._SAME_DEVICE, std::system_category())) { > SmallVector<wchar_t, MAX_PATH> WideFrom; > if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom)) > return EC2; > if (::MoveFileExW(WideFrom.begin(), WideTo.begin(), > - MOVEFILE_REPLACE_EXISTING)) > + MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING)) > return std::error_code(); > return mapWindowsError(GetLastError()); > } > > Note, that when the source and destination are located on the different logical volumes, we will ef...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...ystem_category())) { >> SmallVector<wchar_t, MAX_PATH> WideFrom; >> if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom)) >> return EC2; >> if (::MoveFileExW(WideFrom.begin(), WideTo.begin(), >> - MOVEFILE_REPLACE_EXISTING)) >> + MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING)) >> return std::error_code(); >> return mapWindowsError(GetLastError()); >> } >> >> Note, that when the source and destination are located on the different log...
2018 Mar 27
1
[pre-RFC] Data races in concurrent ThinLTO processes
...std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) { SmallVector<wchar_t, MAX_PATH> WideFrom; if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom)) return EC2; if (::MoveFileExW(WideFrom.begin(), WideTo.begin(), - MOVEFILE_REPLACE_EXISTING)) + MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING)) return std::error_code(); return mapWindowsError(GetLastError()); } Note, that when the source and destination are located on the different logical volumes, we will effectively perform a copy, follo...
2018 Mar 27
4
[pre-RFC] Data races in concurrent ThinLTO processes
...std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) { SmallVector<wchar_t, MAX_PATH> WideFrom; if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom)) return EC2; if (::MoveFileExW(WideFrom.begin(), WideTo.begin(), - MOVEFILE_REPLACE_EXISTING)) + MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING)) return std::error_code(); return mapWindowsError(GetLastError()); } Note, that when the source and destination are located on the different logical volumes, we will effectively perform a copy, follo...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...* > > * SmallVector<wchar_t, MAX_PATH> WideFrom;* > > * if (std::error_code EC2 = realPathFromHandle(FromHandle, > WideFrom))* > > * return EC2;* > > * if (::MoveFileExW(WideFrom.begin(), WideTo.begin(),* > > *- MOVEFILE_REPLACE_EXISTING))* > > *+ MOVEFILE_COPY_ALLOWED | > MOVEFILE_REPLACE_EXISTING))* > > * return std::error_code();* > > * return mapWindowsError(GetLastError());* > > * }* > > > > Note, that when the source and destination are located on...
2018 Mar 27
2
[pre-RFC] Data races in concurrent ThinLTO processes
...std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) { SmallVector<wchar_t, MAX_PATH> WideFrom; if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom)) return EC2; if (::MoveFileExW(WideFrom.begin(), WideTo.begin(), - MOVEFILE_REPLACE_EXISTING)) + MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING)) return std::error_code(); return mapWindowsError(GetLastError()); } Note, that when the source and destination are located on the different logical volumes, we will effectively perform a copy, follo...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
..._SAME_DEVICE, std::system_category())) { > SmallVector<wchar_t, MAX_PATH> WideFrom; > if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom)) > return EC2; > if (::MoveFileExW(WideFrom.begin(), WideTo.begin(), > - MOVEFILE_REPLACE_EXISTING)) > + MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING)) > return std::error_code(); > return mapWindowsError(GetLastError()); > } > > Note, that when the source and destination are located on the different logical volumes, we will ef...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...* > > * SmallVector<wchar_t, MAX_PATH> WideFrom;* > > * if (std::error_code EC2 = realPathFromHandle(FromHandle, > WideFrom))* > > * return EC2;* > > * if (::MoveFileExW(WideFrom.begin(), WideTo.begin(),* > > *- MOVEFILE_REPLACE_EXISTING))* > > *+ MOVEFILE_COPY_ALLOWED | > MOVEFILE_REPLACE_EXISTING))* > > * return std::error_code();* > > * return mapWindowsError(GetLastError());* > > * }* > > > > Note, that when the source and destination are located on...
2018 Mar 27
1
[pre-RFC] Data races in concurrent ThinLTO processes
...std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) { SmallVector<wchar_t, MAX_PATH> WideFrom; if (std::error_code EC2 = realPathFromHandle(FromHandle, WideFrom)) return EC2; if (::MoveFileExW(WideFrom.begin(), WideTo.begin(), - MOVEFILE_REPLACE_EXISTING)) + MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING)) return std::error_code(); return mapWindowsError(GetLastError()); } Note, that when the source and destination are located on the different logical volumes, we will effectively perform a copy, follo...
2008 Feb 08
0
Wine release 0.9.55
...ord. msi: Reimplement MsiFormatRecord. msi: Fix handling of the NULL separator when writing registry values. msi: Test using carriage returns in SQL queries and imported tables. Jens Nestler (1): kernel32: Don't fail unconditionally in MoveFile for directories with flag MOVEFILE_REPLACE_EXISTING. Johan Gardell (1): user32: Added support for SPI_SETMOUSESPEED in SystemParametersInfoW. Juan Lang (1): rsaenh: Merge the encrypting and decrypting states, as encrypting and decrypting are allowed with the same key. Kirill K. Smirnov (2): systray: Properly track errors....
2019 Feb 04
0
Wine release 4.1
..._handler entry. ntoskrnl.exe: Add KeEnterGuardedRegion and KeLeaveGuardedRegion stubs. ntoskrnl.exe: Implement KeExpandKernelStackAndCallout and KeExpandKernelStackAndCalloutEx. Jon Doron (2): kernel32: Fix MoveFileWithProgressW from closing same handle twice. kernel32: Fix MOVEFILE_REPLACE_EXISTING between devices. Joshua Ashton (2): include: Mark IDirect3D9Ex::GetAdapterDisplayModeEx() as PURE. include: Add a few missing d3d9 constants. Julien D'ascenzio (1): ntdll: Correct space/mark parity. Józef Kucia (9): d3d9: Validate surface parameter in d3d9_device_Colo...
2008 Apr 18
1
Wine release 0.9.60
...vert Strike crashes at the end of intro movie 8319 Autocad 2008 trial install fails very early 8540 C&C3: Malfunctioning shaders (ATI) 8547 Intel Image processing Library - ipla6 error preventing operation. 8551 MoveFileWithProgressW unconditional fails for directories with flag MOVEFILE_REPLACE_EXISTING 8641 Supreme Commander Patch crashes 8809 When in "Wine desktop" mode, systray crashes 9010 HebRech takes forever to load 9011 incorrect dup() behavior 9047 Civilization IV Expansion pack "Beyond the Sword" Install Crash 9286 nice icon and menu 9315 R...