Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2637537fe77f34149fd0ee13cced316505c46653
Ticket: 1034337fffffffffffffffffffffffffffffffff
recursive file/dir delete broken on OSX
User & Date: hobbs on 2005-10-08 05:25:07
Changes

  1. closedate changed to: "2005-10-07T22:25:07"
  2. closer changed to: "hobbs"
  3. icomment:
    Logged In: YES 
    user_id=72656
    
    I have reimplemented this solution to revert back the
    original 8.4.7 code, and adding in a threshold limit before
    a rewind, as inspired by this message:
    
    http://lists.gnu.org/archive/html/bug-coreutils/2005-05/msg00113.html
    
    I have chosen a threshold of 150, as I found OS X Panther to
    fail at 172 (unlike the 254 the post above claims).  OS X
    Tiger did not have the issue at all (at least to 400 files).
    
    We may still be affected if you have a directory with > 150
    (threshold) special NFS files, in which case we'd need to
    keep a hash table of what's been deleted.  In any case, I
    believe the new solution is incrementally better, avoiding
    the NFS issue while still rewinding in support of some funky
    readdir implementations.
    
    Applied to 8.4.12 and 8.5a4.
    
    
  4. login: "hobbs"
  5. mimetype: "text/plain"
  6. status changed to: "Closed"
  7. username: "hobbs"