From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow again under Windows) Date: Wed, 15 Jul 2009 00:05:32 +0300 Message-ID: <83iqhvq8kj.fsf@gnu.org> References: <7dbe73ed0907051401o26903ca3t9a67060f3a3417ad@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> <83prc4q7ef.fsf@gnu.org> <83ocrnqdqa.fsf@gnu.org> <58260.130.55.118.19.1247599938.squirrel@webmail.lanl.gov> <83ljmrqbg3.fsf@gnu.org> <87bpnnypqh.fsf@catnip.gol.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1247606861 6325 80.91.229.12 (14 Jul 2009 21:27:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jul 2009 21:27:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 14 23:27:34 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 1MQpWg-0007I7-Ek for ged-emacs-devel@m.gmane.org; Tue, 14 Jul 2009 23:27:34 +0200 Original-Received: from localhost ([127.0.0.1]:44681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQpWe-0002d3-DW for ged-emacs-devel@m.gmane.org; Tue, 14 Jul 2009 17:27:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQpCS-0008Bm-CJ for emacs-devel@gnu.org; Tue, 14 Jul 2009 17:06:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQpCR-0008BG-7t for emacs-devel@gnu.org; Tue, 14 Jul 2009 17:06:07 -0400 Original-Received: from [199.232.76.173] (port=35604 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQpCR-0008BB-2M for emacs-devel@gnu.org; Tue, 14 Jul 2009 17:06:07 -0400 Original-Received: from mtaout5.012.net.il ([84.95.2.13]:32436) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQpCO-0006ho-Q9; Tue, 14 Jul 2009 17:06:05 -0400 Original-Received: from conversion-daemon.i_mtaout5.012.net.il by i_mtaout5.012.net.il (HyperSendmail v2004.12) id <0KMS00C00IELAV00@i_mtaout5.012.net.il>; Wed, 15 Jul 2009 00:05:32 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.70.207.26]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KMS006I8IL7TUO0@i_mtaout5.012.net.il>; Wed, 15 Jul 2009 00:05:32 +0300 (IDT) In-reply-to: <87bpnnypqh.fsf@catnip.gol.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:112473 Archived-At: > From: Miles Bader > Cc: herring@lanl.gov, emacs-devel@gnu.org > Date: Wed, 15 Jul 2009 05:27:34 +0900 > > Eli Zaretskii writes: > > Yes, it is (IMO): directory "foo^@bar" does not exist, so you should > > have got an error. Instead, you silently open a directory by another > > name, as if "foo^@bar" existed. > > So you're suggesting that each use of a system function with such > limitations be preceded by "if (contains_null(string)) error ();" or something? Yes, something like that. We always do a CHECK_STRING in those cases, at least for the arguments of the primitives; maybe we should have CHECK_FILENAME or something.