hush/coreutils
Denys Vlasenko 28055028a7 fold: unicode support. Based on a patch by Tomas Heinrich <heinrich.tomas@gmail.com>
General Unicode support is tweaked to expose unicode_status.

function                                             old     new   delta
init_unicode                                           -      77     +77
write2stdout                                           -      19     +19
adjust_column                                         68      71      +3
unicode_status                                         -       1      +1
unicode_is_enabled                                     1       -      -1
grep_main                                            780     773      -7
fold_main                                            619     552     -67
check_unicode_in_env                                  77       -     -77
------------------------------------------------------------------------------
(add/remove: 3/2 grow/shrink: 1/2 up/down: 100/-152)          Total: -52 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-01-04 20:49:58 +01:00
..
libcoreutils *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
basename.c basename: fix error code. again. deja vu feeling... 2008-11-06 15:13:33 +00:00
cal.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00
cat.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
catv.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
chgrp.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
chmod.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
chown.c *: mass renaming of USE_XXXX to IF_XXXX 2009-04-21 11:09:40 +00:00
chroot.c *: remove a few more cases of argc usage. -89 bytes. 2009-11-28 15:18:53 +01:00
cksum.c split: handle - as "use stdin". +13 bytes. Closes bug 741. 2009-11-26 05:43:16 +01:00
comm.c comm: almost total rewrite; add testsuite 2008-07-15 06:45:14 +00:00
Config.in dd: speed measurement. optional. 2009-10-14 00:29:28 +02:00
cp.c cp: revert a recent buggy change, and add a comment why it's wrong 2009-10-08 01:32:44 +02:00
cut.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
date.c date: restore hadling of MMDDhhmm[[CC]YY][.ss] date format 2009-11-15 04:55:40 +01:00
dd.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
df.c fold: unicode support. Based on a patch by Tomas Heinrich <heinrich.tomas@gmail.com> 2010-01-04 20:49:58 +01:00
dirname.c *: remove a few more cases of argc usage. -89 bytes. 2009-11-28 15:18:53 +01:00
dos2unix.c *: remove a few more cases of argc usage. -89 bytes. 2009-11-28 15:18:53 +01:00
du.c libbb/human_readable.c: shrink; and reduce bss usage 2009-10-13 01:25:09 +02:00
echo.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
env.c env: don't SEGV on bare "env -" 2009-11-12 14:52:47 +01:00
expand.c fold: unicode support. Based on a patch by Tomas Heinrich <heinrich.tomas@gmail.com> 2010-01-04 20:49:58 +01:00
expr.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
false.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
fold.c fold: unicode support. Based on a patch by Tomas Heinrich <heinrich.tomas@gmail.com> 2010-01-04 20:49:58 +01:00
fsync.c fsync: new applet by Pekka Pessi (Pekka.Pessi AT nokia.com) 2009-06-18 08:20:02 +02:00
head.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
hostid.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00
id_test.sh id: coreutils compat by Tito + test script 2008-10-29 00:27:31 +00:00
id.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
install.c install: compat fix for mode of created files. 2009-06-15 18:13:51 +02:00
Kbuild fsync: new applet by Pekka Pessi (Pekka.Pessi AT nokia.com) 2009-06-18 08:20:02 +02:00
length.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
ln.c *: remove a few more cases of argc usage. -89 bytes. 2009-11-28 15:18:53 +01:00
logname.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00
ls.c fold: unicode support. Based on a patch by Tomas Heinrich <heinrich.tomas@gmail.com> 2010-01-04 20:49:58 +01:00
md5_sha1_sum.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
mkdir.c *: remove a few more cases of argc usage. -89 bytes. 2009-11-28 15:18:53 +01:00
mkfifo.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
mknod.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
mv.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
nice.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
nohup.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00
od_bloaty.c od: fix -tx without length spec 2009-11-22 15:37:16 +01:00
od.c *: optimize most of isXXXXX() macros 2009-10-23 03:16:08 +02:00
printenv.c cksum, printenv: report errors via exitcode 2008-11-11 22:59:41 +00:00
printf.c printf: (allegedly) fix testsuite failure 2009-06-27 00:07:23 +02:00
pwd.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
readlink.c readlink: support -n, -v, -s and -q too if support for -f is requested 2009-06-12 13:16:21 +02:00
realpath.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
rm.c *: use "can't" instead of "cannot" 2009-11-13 09:08:27 +01:00
rmdir.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
seq.c *: introduce and use ffulsh_all() 2009-11-02 14:19:51 +01:00
sleep.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
sort.c sort: make sort -o FILE FILE (same FILE) work. Closes bug 785. -3 bytes 2009-12-13 02:09:22 +01:00
split.c split: handle - as "use stdin". +13 bytes. Closes bug 741. 2009-11-26 05:43:16 +01:00
stat.c *: remove a few more cases of argc usage. -89 bytes. 2009-11-28 15:18:53 +01:00
stty.c stty: code shrink -44 bytes 2009-12-11 15:00:17 +01:00
sum.c fix up potential printf's with unsafe format strings 2009-10-24 17:47:56 +02:00
sync.c *: make 2 more "int argc"'s unused; more saved if !DESKTOP 2010-01-04 13:16:08 +01:00
tac.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
tail.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
tee.c ash,hush: add TODO for rare build failure 2008-11-25 01:36:03 +00:00
test_ptr_hack.c add forgotten files. I am forgetting it all the time :( 2008-04-22 18:07:41 +00:00
test.c test: use index_in_strings 2009-09-12 22:41:57 +02:00
touch.c touch: needs another fix after last utimes() fixes 2009-11-30 11:36:14 +01:00
tr.c libbb: robustify isXXXX(). +39 bytes 2009-11-18 11:34:43 +01:00
true.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
tty.c *: make 2 more "int argc"'s unused; more saved if !DESKTOP 2010-01-04 13:16:08 +01:00
uname.c more C standard compat fixes from Dan Fandrich 2009-09-06 12:47:55 +02:00
uniq.c uniq: shave off whole 10 bytes off, oh my 2009-08-31 05:15:21 +02:00
usleep.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
uudecode.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
uuencode.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00
wc.c fix fallout from isprint() changes 2009-11-20 19:14:19 +01:00
who.c remove a few superfluous includes 2008-11-25 13:33:11 +00:00
whoami.c *: remove some uses of argc 2010-01-04 14:15:38 +01:00
yes.c *: remove a few more cases of argc usage. -89 bytes. 2009-11-28 15:18:53 +01:00