]> Sergey Matveev's repositories - public-inbox.git/commit
ds: ->write must not clobber empty wbuf array
authorEric Wong <e@80x24.org>
Mon, 24 Jun 2019 18:18:18 +0000 (18:18 +0000)
committerEric Wong <e@80x24.org>
Mon, 24 Jun 2019 18:26:04 +0000 (18:26 +0000)
commitc30b4427b340aeb242273a7b890fbd7e50132f51
treeb7850cc4cd739156e690a096c0bde4a19f1bf585
parentac2173434be2be4baba51db6dac7351833cdcdeb
ds: ->write must not clobber empty wbuf array

We need to account for ->write(CODE) calls doing ->write(SCALARREF),
otherwise flush_write may see the wrong ->{wbuf} field.
lib/PublicInbox/DS.pm