git: sbin/hammer: close file descriptor on history iteration

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Feb 18 11:19:42 PST 2015


commit da6430b62d9a1156df2d361bdde340a46e25c9c8
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Thu Feb 19 00:11:15 2015 +0900

    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.

Summary of changes:
 sbin/hammer/cmd_history.c | 1 +
 1 file changed, 1 insertion(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/da6430b62d9a1156df2d361bdde340a46e25c9c8


-- 
DragonFly BSD source repository


More information about the Commits mailing list