Lucian Petrut 3541e7c393 File driver: properly handle Windows paths
On Windows, the parsed paths always contain a starting slash, which
causes issues.

Also, the paths should be normalized, replacing slashes with
backslashes.

This patch fixes those issues, ensuring that urls such as the following
are properly handled:

file:///c:/local/path
file:////share_addr/share_name

Change-Id: I84396173881d3be3a5d2cdde626ab0e2d2dac3eb
Closes-Bug: #1598821
2016-07-04 21:23:15 +03:00
2016-06-13 14:16:03 -07:00
2014-11-18 15:39:05 +01:00
2016-06-13 14:16:03 -07:00
2013-12-19 12:18:35 +01:00
2016-06-09 10:40:16 +02:00
2016-06-21 18:07:05 +00:00
2015-09-17 12:17:45 +00:00
2016-06-09 10:40:48 +02:00

Tooz

Latest Version

Downloads

The Tooz project aims at centralizing the most common distributed primitives like group membership protocol, lock service and leader election by providing a coordination API helping developers to build distributed applications.

Join us

Description
Coordinate distributed systems.
Readme 11 MiB
Languages
Python 99.2%
Shell 0.8%