This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] PowerPC64 port part 7 of 7
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Steven Munroe <sjmunroe at vnet dot ibm dot com>
- Cc: libc-alpha at sources dot redhat dot com, aj at suse dot de
- Date: Mon, 19 Aug 2002 21:55:46 +0200
- Subject: Re: [PATCH] PowerPC64 port part 7 of 7
- References: <200208191853.g7JIr3831695@skunk.rchland.ibm.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Aug 19, 2002 at 01:53:03PM -0500, Steven Munroe wrote:
> diff -rc2PN -x *.orig libc23-cvstip-20020815/linuxthreads/Examples/ex17.c libc23/linuxthreads/Examples/ex17.c
> *** libc23-cvstip-20020815/linuxthreads/Examples/ex17.c Tue Jul 31 14:43:34 2001
> --- libc23/linuxthreads/Examples/ex17.c Thu Aug 15 16:54:50 2002
> ***************
> *** 54,58 ****
> if (stack2 != stack || stacksize != STACKSIZE)
> {
> ! printf ("first pthread_attr_getstack returned different stack (%p,%x)\n"
> "than was set by setstack (%p,%x)\n",
> stack2, stacksize, stack, STACKSIZE);
> --- 54,58 ----
> if (stack2 != stack || stacksize != STACKSIZE)
> {
> ! printf ("first pthread_attr_getstack returned different stack (%p,%lx)\n"
> "than was set by setstack (%p,%x)\n",
> stack2, stacksize, stack, STACKSIZE);
This is wrong. As stacksize is size_t, it needs to be (%p,%zx).
Jakub