delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/20/05:47:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Dave Korn" <dk AT artimi DOT com>
To: <ama-list AT mltp DOT com>
Cc: "'Cygwin Mail List'" <cygwin AT cygwin DOT com>
Subject: RE: Can't delete file
Date: Tue, 20 Jan 2004 10:47:22 -0000
MIME-Version: 1.0
In-Reply-To: <Pine.LNX.4.58.0401191716520.13160@cinemaspace.berkeley.edu>
Message-ID: <NUTMEGq8hZYNX6Mma0n0000015c@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 20 Jan 2004 10:47:22.0198 (UTC) FILETIME=[C88C4F60:01C3DF42]

 

> -----Original Message-----
> From: Aurangzeb M. Agha 

> Dave --
> 
> That worked!  Thank goodness, I thought I'd have to live with 
> an unwanted folder forever.

  Hooray!
 
> I'm curious--was what you suggested possible just because I was lucky?
> What if the names of the files had been even longer; would 
> your suggestion not have worked?!
> 
> Thanks so much.
> 
> Sincerely,
> 
> Zeb

  Yep, it could have been the case.  It's a known class of bugs in software:
when special characters need to be escaped, the effect of doing so is to
lengthen any string, such as a filename, that contains them, thereby
sometimes making them longer than some presupposed limit somewhere in the
software or operating system.  (It's also a known cause of network security
holes through buffer overflows in server software.)  If there had been a
whole load more at and ampersand signs in that filename, you might have had
to get *real* tricky with it :)  Fortunately, reducing the left-hand part of
the path did the job.  Glad to help!


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019