Messages in this thread | | | Date | Fri, 21 Apr 2006 01:22:27 +0400 | From | Ivan Kokshaysky <> | Subject | Re: strncpy (maybe others) broken on Alpha |
| |
On Thu, Apr 20, 2006 at 07:11:02PM +0200, Mathieu Chouquet-Stringer wrote: > Replying to myself here, i've created the following test program and > redefined strncpy to mystrncpy (I used strncpy.S and stxncpy.S from > arch/alpha/lib):
...
> And here's the output using gcc version 3.4.4 (Gentoo 3.4.4-r1, > ssp-3.4.4-1.0, pie-8.7.8), note i didn't use flag except -Wall: > > fails for strlen = 3 (copied 2) > fails for strlen = 4 (copied 2)
I'm unable to reproduce this with the toolchains that I have.
Ivan. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |