Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sun, 26 Oct 2003 09:18:21 +0100 (MET) From: "Pavel Tsekov" To: cygwin AT cygwin DOT com MIME-Version: 1.0 References: <20031025221849 DOT GQ1653 AT cygbert DOT vinschen DOT de> Subject: Re: 1.5.1: can't open files beginning with "..." X-Priority: 3 (Normal) X-Authenticated: #14308112 Message-ID: <21365.1067156301@www3.gmx.net> X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit > > Does it fix the following: > > > > Administrator AT mordor ~ > > $ cd /usr/bin../ > > No, it fixes the more than two leading dots problem. The above is > a genuin windows problem as you noted in your previous mail. I don't > know how to fix this without noticeably slowing down the path conv > routine. I'll try to send my patch for reviewal to cygwin-patches tonight. I have used it for a while and haven't noticed any perforamance hits. It works like this: 1) Count the number of dots for each path component 2) Check if the path component consists solely from dots If it does return ENOENT if the count of the dots is greater than 2. If it does contain both dots and other symbols, return ENOENT if there are dots at the end of the component. Pavel -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/