[MERGE] (Bugfix #84728) custom reimplementation of abspath in Python for Windows 98

Alexander Belchenko bialix at ukr.net
Wed Feb 14 11:05:40 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This patch provide fix for the bug #84278.
After examining various snippets of Python code I come
to this reimplementation of Win32 API function in Python,
corrected to our internal handling of slashes in paths.

With proposed fixes selftest for osutils and urlutils
is pass on Windows 98 machine as well as on Cygwin.
(Other tests not examined).

I think it will be good to extend our test suite to test
various usages of UNC paths in some cross-platform way,
but now I'm don't understand how to implement fake UNC server
to test on any platform. This server probably should use
custom URL scheme (like unc:// ?)
(Probably implementing this will be too complicated and
don't worth efforts).

Anyway this patch solve UNC path problem on Windows 98.

Alexander

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF0u0EzYr338mxwCURAlYQAKCR/nkYi//7sdPyi7zW+PXMfEx9swCfeDXM
8nmJtH2QqxJNX1m+WQooigo=
=gwMX
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bugfix.84728.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20070214/ff25a3e2/attachment-0001.diff 


More information about the bazaar mailing list