]> Sergey Matveev's repositories - public-inbox.git/commit
git-http-backend: avoid multi-arg print statemtents
authorEric Wong <e@80x24.org>
Thu, 25 Feb 2016 04:37:25 +0000 (04:37 +0000)
committerEric Wong <e@80x24.org>
Thu, 25 Feb 2016 04:37:25 +0000 (04:37 +0000)
commit0258ba3cd2d32ee46f95e9fc8d0adeb857459d64
tree37eb2ffc10f15ae169acf63e2441ae48f1a093ec
parent2d6c35391565a261d2e86868c9b69219a58ea6a2
git-http-backend: avoid multi-arg print statemtents

Even with output buffering disabled via IO::Handle::autoflush,
writes are not atomic unless it is a single argument passed to
"print".  Multiple arguments to "print" will show up as multiple
calls to write(2) instead of a single, atomic writev(2).
lib/PublicInbox/GitHTTPBackend.pm