[Mono-bugs] [Bug 464132] New: Shadow copy implementation is broken on Windows
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jan 7 09:06:10 EST 2009
https://bugzilla.novell.com/show_bug.cgi?id=464132
Summary: Shadow copy implementation is broken on Windows
Product: Mono: Runtime
Version: unspecified
Platform: All
OS/Version: Windows
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: kornelpal at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
On Linux files can be deleted even when they are open but the contrary applies
to Windows.
Current shadow copy implementation assumes that open files can be deleted on
Windows as well. Assembly files are ususally open because they are memmapped.
The goal of shadow copying would be to aviod the condition when you cannot
replace an assembly file because it's open.
The solution would be to copy the file to a new location.
I actually experienced this bug in conjunction with bug 464128:
private_file_needs_copying fails because it passes UTF-8 to stat while that
expets ANSI code page. Then mono_make_shadow_copy siply tries to call
DeleteFile and CopyFile that obviously fails.
Note that even if private_file_needs_copying will be fixed the problem
described in this bug remains.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list