[tpop3d-discuss] Bug? (on Linux/390)

Allan Joergensen dw at nowhere.dk
Sat, 25 Aug 2001 07:53:09 +0200


On 25-Aug-2001, Chris Lightfoot wrote:

> Could you try replacing line 494 of main.c with
>     while ((c =3D getopt(argc, argv, optstring)) !=3D -1) {
> ? This should fix the problem; if not, I will investigate
> further.
> Re-reading the getopt man page, the previous code (!=3D EOF)
> was in error. Evidently this was not apparent on the other
> architectures I've tried :)

gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -c main.c
main.c: In function `main':
main.c:494: warning: comparison is always true due to limited range of
data type
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -c md5c.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -c pidfile.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -c pop3.c
pop3.c: In function `connection_do':
pop3.c:319: warning: int format, long int arg (arg 5)
pop3.c:329: warning: int format, long int arg (arg 5)

And tpop3d is still not working.

It seems odd that something working on x86 Linux is not running here;
maybe it has something to do with the level GCC and friends?

Please let me know if you feel that it might be a good idea to upgrade
the compiler tools (it will not be easy, but I'll do it if you want me
to :))

regards,
--=20
 /\ \  / /\ =20
//\\ .. //\\ Allan Joergensen aka [DW] on Undernet
//\((  ))/\\ Email: dw@nowhere.dk - Homepage: <URL:http://www.nowhere.dk/>
/  < `' >  \ "If at first you don't succeed, redefine success"