[patch] warning cleanup

Andreas Jaeger aj@suse.de
Mon Mar 20 12:55:00 GMT 2000


>>>>> Richard Henderson writes:

 > Mostly 64-bit stuff, but also a couple other cvs-gcc nits.
 > Ok?
Hi Richard,

Glad to see you hacking on glibc again!


 > r~

 > 	* locale/programs/ld-collate.c (collate_read): Don't cast string
 > 	to int.
 > 	* nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
 > 	argument to yperr2nss is an int, not size_t.
 > 	* posix/regex.c (print_partial_compiled_pattern): Cast all
 > 	ptrdiff_t to long for printing.
 > 	(print_compiled_pattern): Use Z for printing size_t.
Please have a look at my patch to solve these problems.  It's
available via:
http://sourceware.cygnus.com/ml/libc-hacker/2000-02/msg00106.html

It seems that Ulrich forgot it:-(

 > 	* posix/testfnm.c (tests): Avoid trigraphs.
 > 	* sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
 > 	Use a C comment, not an assembly comment.

 > 	* sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
 > 	of __ASSUME_32BITUIDS.

Shouldn't this be better documented in kernel-features.h - with a
comment mentioning Alpha and MIPS which both had 32bit uids all the
time?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de


More information about the Libc-alpha mailing list