Tito writes:
authorEric Andersen <andersen@codepoet.org>
Thu, 26 Aug 2004 22:36:02 +0000 (22:36 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 26 Aug 2004 22:36:02 +0000 (22:36 -0000)
commit095dd0c46df224c9b4c59327116534452731d457
tree5ae3cd745cea2f6358bf09c440383a1af66ee892
parent713d6e3dd3473e72fe72d42f3f7b8c07b5ed2616
Tito writes:

Hi,
I've fixed also the issue of whoami cutting down usernames.
This time I cannot send a diff because i don't know if my previous patches will be applied
or not, so I send in the whole file.
The changes I've made don't affect size but ensure that usernames of whatever lenght
are correctly displayed.
root@localhost:/dev/pts/3:/root/Desktop/busybox/coreutils# size whoami_orig.o
   text    data     bss     dec     hex filename
    102       0       0     102      66 whoami_orig.o
root@localhost:/dev/pts/3:/root/Desktop/busybox/coreutils# size whoami.o
   text    data     bss     dec     hex filename
     93       0       0      93      5d whoami.o

This should be applied even if the other patches aren't as this matches the behaviour of the  GNU whoami.

Thanks in advance,
Ciao,
Tito
coreutils/whoami.c