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:
parent
d0dee2e260
commit
0da3352d59
@ -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:
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user