emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Willing to debug bug #3542 (23.0.94; File access via UNC path slow a


From: Eli Zaretskii
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

> From: Miles Bader <address@hidden>
> Cc: address@hidden,  address@hidden
> Date: Wed, 15 Jul 2009 05:27:34 +0900
> 
> Eli Zaretskii <address@hidden> writes:
> > Yes, it is (IMO): directory "address@hidden" does not exist, so you should
> > have got an error.  Instead, you silently open a directory by another
> > name, as if "address@hidden" 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]