From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) Date: Mon, 13 Jul 2009 23:04:27 +0200 Message-ID: References: <7dbe73ed0907051401o26903ca3t9a67060f3a3417ad@mail.gmail.com> <83fxda1pef.fsf@gnu.org> <7dbe73ed0907060038w53699f77ie742996955ae8118@mail.gmail.com> <838wj11sz4.fsf@gnu.org> <83my7fz09s.fsf@gnu.org> <7dbe73ed0907081347q12dfd1a2lbbff915c49362f75@mail.gmail.com> <4A55D68D.8050407@gnu.org> <7dbe73ed0907090453s3e125b4ar142b90a268b105e2@mail.gmail.com> <7DAFC004A33C486A9E29A59689E7F02E@us.oracle.com> <4A5619F5.8010008@gnu.org> <8363e1zoak.fsf@gnu.org> <83hbxjrmue.fsf@gnu.org> <83ws6cqudb.fsf@gnu.org> <83tz1gqr33.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247519093 29031 80.91.229.12 (13 Jul 2009 21:04:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jul 2009 21:04:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 13 23:04:46 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MQSha-0005u9-3U for ged-emacs-devel@m.gmane.org; Mon, 13 Jul 2009 23:04:46 +0200 Original-Received: from localhost ([127.0.0.1]:52729 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQShZ-0007Go-48 for ged-emacs-devel@m.gmane.org; Mon, 13 Jul 2009 17:04:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQShU-0007GX-Fg for emacs-devel@gnu.org; Mon, 13 Jul 2009 17:04:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQShQ-0007DF-1Z for emacs-devel@gnu.org; Mon, 13 Jul 2009 17:04:40 -0400 Original-Received: from [199.232.76.173] (port=38833 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQShP-0007DC-VM for emacs-devel@gnu.org; Mon, 13 Jul 2009 17:04:35 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:60727) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQShK-0005sL-OT; Mon, 13 Jul 2009 17:04:31 -0400 Original-Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 8D8991C15479; Mon, 13 Jul 2009 23:04:29 +0200 (CEST) Original-Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id 5D1379017D; Mon, 13 Jul 2009 23:04:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id VtpvB6+J+htf; Mon, 13 Jul 2009 23:04:28 +0200 (CEST) Original-Received: from igel.home (DSL01.83.171.189.148.ip-pool.NEFkom.net [83.171.189.148]) by mail.mnet-online.de (Postfix) with ESMTP; Mon, 13 Jul 2009 23:04:28 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id 0AC7510D895; Mon, 13 Jul 2009 23:04:28 +0200 (CEST) X-Yow: HELLO KITTY gang terrorizes town, family STICKERED to death! In-Reply-To: <83tz1gqr33.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 13 Jul 2009 23:13:20 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.96 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:112430 Archived-At: Eli Zaretskii writes: > Aha. But it sounds like it's not just me who is confused. Here's > just two examples: > > From doc.c: > > strp = SDATA (string); > while (strp < SDATA (string) + SBYTES (string)) > > (why not "while *strp"?) Just because strings are always NUL terminated does not mean that every NUL terminates a string. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."