From mint-bounce@lists.fishpool.fi  Tue Jan 22 17:33:09 2008
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
From: Andreas Schwab <schwab@suse.de>
To: Alan Hourihane <alanh@fairlite.demon.co.uk>
Cc: mint <mint@fishpool.com>
Subject: Re: [MiNT] Bug in stat in FreeMiNT ??
References: <1199982922.24917.31.camel@localhost>
X-Yow: "DARK SHADOWS" is on!!  Hey, I think the VAMPIRE forgot his UMBRELLA!!
Date: Thu, 10 Jan 2008 17:55:03 +0100
In-Reply-To: <1199982922.24917.31.camel@localhost> (Alan Hourihane's message
	of "Thu\, 10 Jan 2008 16\:35\:22 +0000")
Message-ID: <jesl15boyg.fsf@sykes.suse.de>
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: schwab@suse.de
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=BAYES_00
X-Spam-Level: 
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by freemint id m0MGP1e0004618
Status: 
X-Status: 
X-Keywords:                   

Alan Hourihane <alanh@fairlite.demon.co.uk> writes:

> The output I get is...
>
> 54093 54093 54093 54093
> 0 2 0 2
>
> Note that the "0 2 0 2" line is wrong and it should be "2 2 2 2" to
> indicate the device (in this case C:).

Try compiling with -Wall and fix the warnings you get.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


