Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:codice:mono-deb
mono
650779.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 650779.patch of Package mono
commit 7c68d8753f44e095e3050d00c3204fa3bea0b656 Author: Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> Date: Tue Nov 2 14:50:03 2010 -0400 Renaming a dangling symlink works now Ditto. Fixes bug #650779. diff --git a/mono/io-layer/io.c b/mono/io-layer/io.c index e30d67c..a61d520 100644 --- a/mono/io-layer/io.c +++ b/mono/io-layer/io.c @@ -1815,10 +1815,12 @@ gboolean MoveFile (const gunichar2 *name, const gunichar2 *dest_name) * the same file as src. */ if (_wapi_stat (utf8_name, &stat_src) < 0) { - _wapi_set_last_path_error_from_errno (NULL, utf8_name); - g_free (utf8_name); - g_free (utf8_dest_name); - return FALSE; + if (errno != ENOENT || _wapi_lstat (utf8_name, &stat_src) < 0) { + _wapi_set_last_path_error_from_errno (NULL, utf8_name); + g_free (utf8_name); + g_free (utf8_dest_name); + return FALSE; + } } if (!_wapi_stat (utf8_dest_name, &stat_dest)) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor