[PATCH] remove getopt.h from readlink and reduce size
Rob Landley
rob at landley.net
Tue Sep 13 00:56:02 UTC 2005
On Monday 12 September 2005 07:00, Tito wrote:
> Hi,
> this patch removes getopt.h from readlink.c
> and reduces the size a little bit.
>
> text data bss dec hex filename
> 76 0 0 76 4c debianutils/readlink.o.orig
> 68 0 0 68 44 debianutils/readlink.o
>
> Please apply. Tested.
>
> Ciao,
> Tito
- if (optind + 1 != argc)
+ if (argc != 2)
How is "readlink -f linkname" supposed to work, then? (argc isn't call by
reference...)
Rob
More information about the busybox
mailing list