Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270680AbTHORhU (ORCPT ); Fri, 15 Aug 2003 13:37:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S270682AbTHORhU (ORCPT ); Fri, 15 Aug 2003 13:37:20 -0400 Received: from kinesis.swishmail.com ([209.10.110.86]:7435 "HELO kinesis.swishmail.com") by vger.kernel.org with SMTP id S270680AbTHORhT (ORCPT ); Fri, 15 Aug 2003 13:37:19 -0400 Message-ID: <3F3D1DDC.9040500@techsource.com> Date: Fri, 15 Aug 2003 13:52:28 -0400 From: Timothy Miller User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Kjellerstedt CC: "'Willy Tarreau'" , linux-kernel mailing list Subject: Re: generic strncpy - off-by-one error References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 613 Lines: 19 Peter Kjellerstedt wrote: > Timothy's 3.125003 6.128571 9.147905 33.325337 Which of mine did you test? The one with the single-byte fill, or the one with the multiple fill loops that does words for the bulk of the fills? With some minor tweaks to eliminate compiler stupidity which compares against -1, that might win on the fill phase. No? - 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/