OSDN Git Service

Fix cpio -it: don't close(fd) unless we opened it.
authorIsaac Dunham <ibid.ag@gmail.com>
Thu, 27 Mar 2014 12:02:01 +0000 (07:02 -0500)
committerIsaac Dunham <ibid.ag@gmail.com>
Thu, 27 Mar 2014 12:02:01 +0000 (07:02 -0500)
commite9a41fc5ae51ccf7bd5677773bfe72d01f06b3cd
treefe3be32200dd7e366fd2d3dc70e8de990545612f
parent392e12769fd41ede6b3e2685b5682275843a9b1d
Fix cpio -it: don't close(fd) unless we opened it.
toys/posix/cpio.c