sbin/hammer: close file descriptor on history iteration
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 18 Feb 2015 15:11:15 +0000 (00:11 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 18 Feb 2015 17:10:12 +0000 (02:10 +0900)
commitda6430b62d9a1156df2d361bdde340a46e25c9c8
tree71c60b71962181bdcd7c5e310618664b59c0ef08
parentef63add428c6aec989dac29f9223e6a28c88d9e0
sbin/hammer: close file descriptor on history iteration

- Make hammer history command close(fd) each time it opens path@@0x`tid`
  for hist.count times.
sbin/hammer/cmd_history.c