[benh@kernel.crashing.org: Bug#180490: PPC: Please build with -fsigned-char or fix usage of char vs. int with getc()]

Bastian Blank waldi@debian.org
Tue Feb 18 06:39:01 2003


--hOcCNbCCxyk/YU74
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

----- Forwarded message from Benjamin Herrenschmidt <benh@kernel.crashing.o=
rg> -----

Subject: Bug#180490: PPC: Please build with -fsigned-char or fix usage of c=
har vs. int with getc()
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Date: Mon, 10 Feb 2003 20:11:45 +0100

Package: gpa
Version: 0.6.0-1
Severity: important
Tags: sid

char is unsigned on PPC

char c =3D getc(file);
while(c !=3D EOF)
	blah();

The above doesn't work.

Ben.

-- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux zion 2.4.20-ben6 #3 Tue Feb 4 15:35:05 CET 2003 ppc
Locale: LANG=3DC, LC_CTYPE=3DC
[...]

----- End forwarded message -----

i found some of this in the cvs, so i think it needs to be fixed there.

bastian

--=20
We Klingons believe as you do -- the sick should die.  Only the strong
should live.
		-- Kras, "Friday's Child", stardate 3497.2

--hOcCNbCCxyk/YU74
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iEYEARECAAYFAj5H/xkACgkQLkAIIn9ODhEBRgCg8ds2hk4YiL0E05GySa/NKWO3
+04An0SshogJrKL29FBgZoudikmtKmkN
=wE1g
-----END PGP SIGNATURE-----

--hOcCNbCCxyk/YU74--