[cp-patches] RFC: fix warning in cpio_df

Mario Torre neugens at limasoftware.net
Thu Nov 8 12:27:53 UTC 2007


Il giorno gio, 08/11/2007 alle 13.06 +0100, Mark Wielaard ha scritto:
> Hi Robert,
> 
> On Wed, 2007-11-07 at 22:13 +0100, Robert Schuster wrote:
> > this patch marks the parameters of cpio_df as possibly unused and
> > silents the warning/lets the build continue with -Wall.
> 
> Which system is this?
> I am not really opposed to the patch, but it would of course be better
> to figure out how to correctly return something for your setup if at all
> possible.

Yes, please, I had troubles figuring out this.

As for the patch, I did that way to catch exactly the systems where no
statvfs is available.

Can you try using statfs? If it's a system where df is available we can
try to steal some code from there also.

Thanks,
Mario




More information about the Classpath-patches mailing list