From adc0882f8d496291aeeffad6ef397ba96496ae72 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Mon, 30 Jul 2018 13:16:45 +0200 Subject: [PATCH] Removed obsolete winodws path hack. --- channels/drive/client/drive_main.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/channels/drive/client/drive_main.c b/channels/drive/client/drive_main.c index b0f851f..10ebbbd 100644 --- a/channels/drive/client/drive_main.c +++ b/channels/drive/client/drive_main.c @@ -874,21 +874,6 @@ static UINT drive_register_drive_path(PDEVICE_SERVICE_ENTRY_POINTS pEntryPoints, size_t i, length; DRIVE_DEVICE* drive; UINT error; -#ifdef WIN32 - - /* - * We cannot enter paths like c:\ because : is an arg separator - * thus, paths are entered as c+\ and the + is substituted here - */ - if (path[1] == '+') - { - if ((path[0] >= 'a' && path[0] <= 'z') || (path[0] >= 'A' && path[0] <= 'Z')) - { - path[1] = ':'; - } - } - -#endif if (name[0] && path[0]) { -- 2.7.4