mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
Update util.d
ensure we get the full path so there is no ambiguity
This commit is contained in:
parent
4425aa2273
commit
91679c0b03
1 changed files with 3 additions and 2 deletions
|
|
@ -2128,8 +2128,9 @@ private bool getPathOwnerMismatch(string path, out uint fileUid, out uint effect
|
|||
stat_t st;
|
||||
|
||||
// Ensure we pass a NUL-terminated string to the C API
|
||||
const(char)* cpath = toStringz(path);
|
||||
|
||||
auto fullPath = absolutePath(path);
|
||||
const(char)* cpath = toStringz(fullPath);
|
||||
|
||||
if (lstat(cpath, &st) != 0) {
|
||||
if (debugLogging) {
|
||||
addLogEntry("getPathOwnerMismatch(): lstat() failed for '" ~ path ~ "'", ["debug"]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue