[PATCH] remove getopt.h from readlink and reduce size

Tito farmatito at tiscali.it
Mon Sep 12 14:51:19 UTC 2005


On Monday 12 September 2005 14: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
> 

> --- debianutils/readlink_orig.c       2005-09-12 13:51:36.000000000 +0200
> +++ debianutils/readlink.c    2005-09-12 13:56:02.000000000 +0200
> -     if (optind + 1 != argc)
> +     if (argc != 2)

>This can do a problem for insert the new supported options.


>--w
>vodz

Ops, 
as vodz said there is a problem, so it was not enough and well
tested.
Please drop this patch for now.


Ciao,
Tito





More information about the busybox mailing list