I added error handling code in write_rotate().
authorHyejin Kim <hj8296@gmail.com>
Mon, 16 Mar 2015 00:29:15 +0000 (19:29 -0500)
committerHyejin Kim <hj8296@gmail.com>
Mon, 16 Mar 2015 00:29:15 +0000 (19:29 -0500)
commita9f4ec26c8594df7410fa0e22dd7044d9ac6d5c6
tree40d20456b5927d2156cff79f184ee084db019fb9
parentd0bc1a39ef65fb2a726b2ff49ba29dbaa9a78aba
I added error handling code in write_rotate().
I think that it is better to check tf->logfd before doing
truncate()/write() and getting error.
toys/pending/syslogd.c