X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <318c5bae4eaf30595c8f54a8325ddd98.squirrel@correio.trt9.jus.br> Date: Fri, 1 Apr 2011 16:13:22 -0300 (BRT) Subject: bug when current directory has a trailling dot? From: Heraldo Maciel =?iso-8859-1?Q?Fran=E7a_Madeira?= To: Cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-04-01_07:2011-04-01,2011-04-01,1970-01-01 signatures=0 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hello, I´ve noticed the following problem in accessing Windows executables from specific directories. If the current directory has a dot-ended component directory, like ~/x/y./z or ~/x. then some weird things happen (in bash, and in sh, as well): ---------------------------------- $ cd ~/x/y./z $ /cygdrive/c/Windows/System32/netstat bash: /cygdrive/c/Windows/System32/netstat: Not a directory but $ cd ~/x/y/z $ /cygdrive/c/Windows/System32/netstat blah, blah (its OK) (it happens with other commands in place of 'netstat' above) Regards Heraldo --------------------------------------------------------- TRT-PR - Antes de imprimir, pense na sua responsabilidade e compromisso com o meio ambiente. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple