]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
common/buffer: accept "-" as stdin
authorPatrick Donnelly <pdonnell@ibm.com>
Fri, 21 Mar 2025 16:53:38 +0000 (12:53 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Mon, 5 Jan 2026 21:23:30 +0000 (16:23 -0500)
commitb40fc94065775d2e4ac8b5661b340ddee31f8ca8
tree80bec9fd79cffe590ab7e6b22d38febf6c8872bc
parent9eeafb8d8503d6b4649fbe1efadb78463708235c
common/buffer: accept "-" as stdin

These methods are used for reading files from tools like "authtool". Read from
stdin if the conventional "-" filename is passed.

Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/common/buffer.cc