mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
713211d89f
These functions accepted const Buffer objects and returned non-const pointers which is definitely not a good idea. Add bufPtrConst() to handle cases where only a const return value is needed and update call sites. Use UNCONSTIFY() in cases where library code out of our control requires a non-const pointer. This includes the already-documented exception in command/backup/pageChecksum and input buffers in the gzCompress and gzDecompress filters. |
||
---|---|---|
.. | ||
archive | ||
backup | ||
check | ||
control | ||
expire | ||
help | ||
info | ||
local | ||
remote | ||
repo | ||
restore | ||
stanza | ||
command.c | ||
command.h |