Fixed bug #846723 - SetOutPath doesn't work with root directories
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3193 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0ef7fcd98b
commit
c49208b861
1 changed files with 4 additions and 6 deletions
|
@ -229,12 +229,10 @@ static int NSISCALL ExecuteEntry(entry *entry_)
|
||||||
char *buf1=GetStringFromParm(-0x10);
|
char *buf1=GetStringFromParm(-0x10);
|
||||||
log_printf3("CreateDirectory: \"%s\" (%d)",buf1,parm1);
|
log_printf3("CreateDirectory: \"%s\" (%d)",buf1,parm1);
|
||||||
{
|
{
|
||||||
char *p=buf1;
|
char *p = skip_root(buf1);
|
||||||
char c='c';
|
char c = 'c';
|
||||||
if (*p) {
|
if (*buf1 && p)
|
||||||
p = skip_root(buf1);
|
{
|
||||||
if (!p)
|
|
||||||
break;
|
|
||||||
while (c)
|
while (c)
|
||||||
{
|
{
|
||||||
WIN32_FIND_DATA *fd;
|
WIN32_FIND_DATA *fd;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue