From fbe76102e941b9f1edaf236788e42678f05fdf9a Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:08:06 +0200 Subject: 3.9 --- shared/longPathPrefix.h | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 shared/longPathPrefix.h (limited to 'shared/longPathPrefix.h') diff --git a/shared/longPathPrefix.h b/shared/longPathPrefix.h deleted file mode 100644 index 4ebe7a9d..00000000 --- a/shared/longPathPrefix.h +++ /dev/null @@ -1,30 +0,0 @@ -// ************************************************************************** -// * This file is part of the FreeFileSync project. It is distributed under * -// * GNU General Public License: http://www.gnu.org/licenses/gpl.html * -// * Copyright (C) 2008-2010 ZenJu (zhnmju123 AT gmx.de) * -// ************************************************************************** -// -#ifndef LONGPATHPREFIX_H_INCLUDED -#define LONGPATHPREFIX_H_INCLUDED - -#ifndef FFS_WIN -use in windows build only! -#endif - -#include "zstring.h" - -namespace FreeFileSync -{ -//handle filenames longer-equal 260 (== MAX_PATH) characters by applying \\?\-prefix (Reference: http://msdn.microsoft.com/en-us/library/aa365247(VS.85).aspx#maxpath) -/* -1. path must be absolute -2. if path is smaller than MAX_PATH nothing is changed! -3. path may already contain \\?\-prefix -*/ -Zstring applyLongPathPrefix(const Zstring& path); //throw() -Zstring applyLongPathPrefixCreateDir(const Zstring& path); //throw() -> special rule for ::CreateDirectoryEx(): MAX_PATH - 12(=^ 8.3 filename) is threshold - -Zstring removeLongPathPrefix(const Zstring& path); //throw() -} - -#endif // LONGPATHPREFIX_H_INCLUDED -- cgit