Fix typo.
This commit is contained in:
parent
0d60da2632
commit
7ef25eb606
@ -282,8 +282,7 @@ path_conv::path_conv (const char *src, symlink_follow follow_mode,
|
|||||||
if (component == 0)
|
if (component == 0)
|
||||||
{
|
{
|
||||||
fileattr = attr;
|
fileattr = attr;
|
||||||
if (follow_mode == SYMLINK_CONTENTS)
|
goto fillin;
|
||||||
goto out;
|
|
||||||
}
|
}
|
||||||
goto out; // file found
|
goto out; // file found
|
||||||
}
|
}
|
||||||
@ -300,7 +299,7 @@ path_conv::path_conv (const char *src, symlink_follow follow_mode,
|
|||||||
fileattr = attr;
|
fileattr = attr;
|
||||||
if (follow_mode == SYMLINK_CONTENTS)
|
if (follow_mode == SYMLINK_CONTENTS)
|
||||||
strcpy (path, sym_buf);
|
strcpy (path, sym_buf);
|
||||||
goto found_symlink;
|
goto fillin;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -364,7 +363,7 @@ path_conv::path_conv (const char *src, symlink_follow follow_mode,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
found_symlink:
|
fillin:
|
||||||
if (*sym_buf)
|
if (*sym_buf)
|
||||||
{
|
{
|
||||||
known_suffix = strchr (this->path, '\0');
|
known_suffix = strchr (this->path, '\0');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user