]> git.apps.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>
Wed, 1 Oct 2025 18:46:51 +0000 (14:46 -0400)
commit510d18141f5448d0ad8af4d5bdad77d0956e9d54
treedd3f7d99d6f06a4460472380af45124ebc7ef668
parent8c3b311d9bba6bced07db9b6e8ac82196f24edb9
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