Two unnecessary warnings with svn

Denis Vlasenko vda.linux at googlemail.com
Tue May 1 18:52:41 UTC 2007


On Monday 30 April 2007 17:30, Mats Erik Andersson wrote:
> Hello there,
> 
> I get two irritating warnings from the compiler on
> todays svn, with a fairly small configuration.
> 
> MEA
> 
> PS I still dislike the new output from "kill -l".

What exacly doesn't look nice?

> --- coreutils/test.c.svn	2007-04-30 17:21:24.736054416 +0200
> +++ coreutils/test.c	2007-04-30 17:22:46.161675840 +0200
> @@ -376,3 +376,3 @@
>  	struct stat s;
> -	int i;
> +	int i = 0;

My gcc says nothing... What's the version of yours?

> --- procps/ps.c.svn	2007-04-30 17:19:07.055984968 +0200
> +++ procps/ps.c	2007-04-30 17:19:31.416281640 +0200
> @@ -385,3 +385,3 @@
>  			else
> -				len = printf("%5u %-8s %6ld %s ",
> +				len = printf("%5u %-8s %6d %s ",
>  					p->pid, user, p->vsz, p->state);

Fixing... thanks.
--
vda



More information about the busybox mailing list