From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Hanson Date: Fri, 03 Dec 2004 12:22:41 +0000 Subject: Re: memccpy() gives inconsistent results on mmapped files Message-Id: <41B05A91.8030900@sgi.com> List-Id: References: <9880.1102044614@kao2.melbourne.sgi.com> In-Reply-To: <9880.1102044614@kao2.melbourne.sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org Christoph Hellwig wrote: > On Fri, Dec 03, 2004 at 02:30:14PM +1100, Keith Owens wrote: > >>Glenn Fowler of ATT reported that memccpy() gives inconsistent results >>on mmapped files. This was reported to SGI, but the bug is ia64 >>generic, I get the same errors on a vanilla ia64 box. >> >>Glenn's test case follows, it has been tweaked to add a PREFAULT >>option. Prefaulting the input file makes memccpy work. The problem >>occurs on both glibc 2.2.4 and glibc 2.3.3. > > > Didn't Jes fix that long ago in SGIs glibc? Yes he did. For exactly the same customer with the same test code. -- ----------------------------------------------------------------------- Jeff Hanson - jhanson@sgi.com - Field Technical Analyst You can choose a ready guide in some celestial voice. If you choose not to decide, you still have made a choice. You can choose from phantom fears and kindness that can kill; I will choose a path that's clear I will choose freewill. - Lee/Lifeson/Peart