1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Add cvtZToMode() replacement missed in 969e5817.

This commit is contained in:
David Steele 2019-08-17 17:52:00 -04:00
parent d0dee2e260
commit 0da3352d59
2 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@ INPUT:
CODE:
if (storageFeature(self, storageFeaturePath))
storagePathCreateP(
self, pathExp, .mode = mode ? cvtZToIntBase(strPtr(mode), 8) : 0, .errorOnExists = !ignoreExists,
self, pathExp, .mode = mode ? cvtZToMode(strPtr(mode)) : 0, .errorOnExists = !ignoreExists,
.noParentCreate = !createParent);
CLEANUP:
}

View File

@ -1206,7 +1206,7 @@ XS_EUPXS(XS_pgBackRest__LibC__Storage_pathCreate)
;
if (storageFeature(self, storageFeaturePath))
storagePathCreateP(
self, pathExp, .mode = mode ? cvtZToIntBase(strPtr(mode), 8) : 0, .errorOnExists = !ignoreExists,
self, pathExp, .mode = mode ? cvtZToMode(strPtr(mode)) : 0, .errorOnExists = !ignoreExists,
.noParentCreate = !createParent);
}
MEM_CONTEXT_XS_TEMP_END();