Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e121b51ea5171cd9c866bd5e938de7ec2c946e2ed8115b27f3fab67b6a9c9e5b
Ticket: d40d8db3fb7f69b66c624caf6b3b4f3d74fbbab4
Windows: [file normalize] drops a component when parent enumeration is denied (non-junction case)
User & Date: oehhar on 2026-07-14 14:48:17
Changes

  1. icomment:
    I see the error useless.
    
    We want to access the given path from an arbitrary folder.
    This contract is probably not true, as the path depends on pwd, right?
    
    An addition "file pathtype $Path" may check, if it is really an absolute path.
    
    We may document the issue and go for preservation.
    
    On Android, we often have the case, that apps may not see the root folder.
    
    Would
    
    <verbatim>
    [file nativename [file normalize $Path]]
    </verbatim>
    
    also have the right meaning to the operation system?
    
    Or even
    
    <verbatim>
    exec [auto_execok [file nativename [file normalize $Path]]]
    </verbatim>
    
    (if $Path is for example a text file with ".txt" extension) ?
    
    Sorry for the questions...
    
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-wiki"
  4. username: "oehhar"