From 089b0ea5094b0d3c769523eed5835cbc295edcf0 Mon Sep 17 00:00:00 2001 From: Silarn Date: Sat, 12 May 2018 13:20:26 -0500 Subject: [PATCH 1/3] Use standard FullPathName for absolute paths starting with \ --- src/usvfs_dll/hooks/kernel32.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/usvfs_dll/hooks/kernel32.cpp b/src/usvfs_dll/hooks/kernel32.cpp index f61ae23f..6c5ca204 100644 --- a/src/usvfs_dll/hooks/kernel32.cpp +++ b/src/usvfs_dll/hooks/kernel32.cpp @@ -459,11 +459,14 @@ class RerouteW else if (inPath[0] == L'\0' || inPath[1] == L':') { return inPath; } + else if (inPath[0] == L'\\' || inPath[0] == L'/') { + return fs::path(winapi::wide::getFullPathName(inPath).first); + } WCHAR currentDirectory[MAX_PATH]; ::GetCurrentDirectoryW(MAX_PATH, currentDirectory); fs::path finalPath = fs::path(currentDirectory) / inPath; return finalPath; - //return winapi::wide::getFullPathName(inPath).first; + //winapi::wide::getFullPathName(inPath).first; } static fs::path canonizePath(const fs::path& inPath) From 84af033cf3903f154f5702dbe90ec03e53417aef Mon Sep 17 00:00:00 2001 From: Brian Munro Date: Sat, 2 Jun 2018 11:46:39 +0200 Subject: [PATCH 2/3] Update README.md Updated appveyor badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cf2d418b..92d054df 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # usvfs [![License](http://img.shields.io/:license-gpl-blue.svg)](http://www.gnu.org/licenses/gpl-3.0.en.html) -[![Build status](https://ci.appveyor.com/api/projects/status/5xwl7y8yuu7ctkhu?svg=true)](https://ci.appveyor.com/project/TanninOne/usvfs) +[![Build status](https://ci.appveyor.com/api/projects/status/rfc2xe8mo9775smo?svg=true)](https://ci.appveyor.com/project/Modorganizer2/usvfs) [![Coverity Scan Build Status](https://scan.coverity.com/projects/8941/badge.svg)](https://scan.coverity.com/projects/8941) USVFS (short for User Space Virtual File System) aims to allow windows applications to create file or directory links that From 1956fd197074894eee8507940484d5c21b38f02d Mon Sep 17 00:00:00 2001 From: Brian Munro Date: Wed, 1 Aug 2018 19:30:39 +0200 Subject: [PATCH 3/3] bump version to 0.4.1.0 bump version to 0.4.1.0 --- include/usvfs_version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/usvfs_version.h b/include/usvfs_version.h index bc2776b8..a83c455d 100644 --- a/include/usvfs_version.h +++ b/include/usvfs_version.h @@ -2,7 +2,7 @@ #define USVFS_VERSION_MAJOR 0 #define USVFS_VERSION_MINOR 4 -#define USVFS_VERSION_BUILD 0 +#define USVFS_VERSION_BUILD 1 #define USVFS_VERSION_REVISION 0 #define USVFS_BUILD_STRING ""