[Rpm-maint] [rpm-software-management/rpm] rpmspec: Support - as input for reading from stdin (PR #1928)
Florian Festi
notifications at github.com
Tue Feb 22 16:47:55 UTC 2022
"duplicates standard input" is pretty ambiguous. I expected this to be a dup() of stdin and each byte read from there being gone - as it is with `dup(STDIN_FILENO)` , but strace confirms that I can read the same content send into stdin with `cat file |` multiple times - once per opening `/dev/stdin`. That's not quite what I remember as standard pipe behaviour. But may be it's been too long.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1928#issuecomment-1047998647
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/1928/c1047998647 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220222/5279fbfd/attachment-0001.html>
More information about the Rpm-maint
mailing list