tr: properly detect read errors (Fernando Silveira <fsilveira@gmail.com>)
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Tue, 13 Nov 2007 17:51:40 +0000 (17:51 +0000)
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Tue, 13 Nov 2007 17:51:40 +0000 (17:51 +0000)
commitccb018ecd562a6b39b4fb23bd14d7253d8afe4e2
tree81b252e0f0a931b1485eaefd89e900859ec8fcfb
parent55e63843b153b16e9192bc6554d30837c01cfde3
tr: properly detect read errors (Fernando Silveira <fsilveira@gmail.com>)
readprofile: use xwrite

function                                             old     new   delta
tr_main                                              679     677      -2
readprofile_main                                    1964    1944     -20

git-svn-id: svn://busybox.net/trunk/busybox@20418 69ca8d6d-28ef-0310-b511-8ec308f3f277
coreutils/tr.c
util-linux/readprofile.c