TOK_CREATEDIR tries to reject relative paths because EW_CREATEDIR silently fails if faced with one
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6488 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
37233030e1
commit
f19f561f40
3 changed files with 28 additions and 12 deletions
|
@ -47,11 +47,12 @@ tstring get_dir_name(const tstring& path);
|
|||
tstring get_file_name(const tstring& path);
|
||||
tstring get_executable_dir(const TCHAR *argv0);
|
||||
tstring remove_file_extension(const tstring& path);
|
||||
tstring lowercase(const tstring&);
|
||||
inline bool IsAgnosticPathSeparator(const TCHAR c) { return _T('\\') == c || _T('/') == c; }
|
||||
bool IsWindowsPathRelative(const TCHAR *p);
|
||||
|
||||
tstring lowercase(const tstring&);
|
||||
tstring get_string_prefix(const tstring& str, const tstring& separator);
|
||||
tstring get_string_suffix(const tstring& str, const tstring& separator);
|
||||
|
||||
void RawTStrToASCII(const TCHAR*in,char*out,UINT maxcch);
|
||||
size_t ExpandoStrFmtVaList(wchar_t*Stack, size_t cchStack, wchar_t**ppMalloc, const wchar_t*FmtStr, va_list Args);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue