]> Sergey Matveev's repositories - public-inbox.git/commit
ds: rely on autovivication for waitpid bits
authorEric Wong <e@yhbt.net>
Sun, 12 Jan 2020 21:17:53 +0000 (21:17 +0000)
committerEric Wong <e@yhbt.net>
Mon, 13 Jan 2020 23:21:28 +0000 (23:21 +0000)
commit8fa1fb2bb4409bd1be9526fab182a2e607d5fd10
tree146b32fda5d7863a5f3d9a471a327d590b11c3ed
parentfdefc70113c221ce7028b230971ab88d590f5827
ds: rely on autovivication for waitpid bits

No need to create an arrayref until we need it, and fix up a
comment while we're in the area.  Some aesthetic changes while
we're at it:

- Rename $WaitPids to $wait_pids to make it clear this is
  unique to our implementation and not in Danga::Socket.

- rewrite dwaitpid() to reduce indentation level
lib/PublicInbox/DS.pm