Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ab8f3d7bc323b43e1a2ce2c518ec0254b4ed5ccb
Ticket: 417111ffffffffffffffffffffffffffffffffff
error in "glob -type r *"
User & Date: dkf on 2001-08-10 15:18:54
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    The patch looks OK to me, though it is still possible for
    the panic() to be invoked in an unfortunate way if a file
    gets deleted between the readdir() and the TclpLstat(),
    which could happen (for example) if the OS decided to switch
    to another process when the stat() was performed.
    
    All this leads me to ask whether panic() is really the right
    behaviour here, or whether it would be better to just fail
    that directory entry silently, pretending that it was never
    there in the first place.  What is certain is that panic()
    is not an appropriate response to a bad link!
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. title changed to: "error in "glob -type r *""
  5. username: "dkf"